git.cweiske.de
/
linksys-wrt3g-tools.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
move dummy host help to dummy param
[linksys-wrt3g-tools.git]
/
scripts
/
linksys-wrt3g.php
diff --git
a/scripts/linksys-wrt3g.php
b/scripts/linksys-wrt3g.php
index 628dfe97f68e30bb1b7e1ba3b723766b17c30570..eb056a90fb7c14bde174ae37fc822f592013509b 100755
(executable)
--- a/
scripts/linksys-wrt3g.php
+++ b/
scripts/linksys-wrt3g.php
@@
-27,10
+27,7
@@
if (file_exists($configFile)) {
}
$parser = new Console_CommandLine();
}
$parser = new Console_CommandLine();
-$parser->description = "Tool to control Linksys WRT3g routers
-
-Dummy responses can be controlled with the host parameter:
- A 3-letter numeric host is interpreted as HTTP response code";
+$parser->description = "Tool to control Linksys WRT3g routers";
$parser->version = '0.0.1';//FIXME: dynamic
$parser->addOption(
'host',
$parser->version = '0.0.1';//FIXME: dynamic
$parser->addOption(
'host',
@@
-78,7
+75,8
@@
$parser->addOption(
'dummy',
array(
'long_name' => '--dummy',
'dummy',
array(
'long_name' => '--dummy',
- 'description' => 'Use dummy router data, not real ones',
+ 'description' => "Use dummy router data, not real ones.
+Dummy responses can be controlled with the host parameter; 3-letter numeric hosts are interpreted as HTTP response code",
'action' => 'StoreTrue',
)
);
'action' => 'StoreTrue',
)
);