git.cweiske.de
/
linksys-wrt3g-tools.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
3127f7c
)
move dummy host help to dummy param
author
Christian Weiske
<cweiske@cweiske.de>
Thu, 16 Dec 2010 18:13:38 +0000
(19:13 +0100)
committer
Christian Weiske
<cweiske@cweiske.de>
Thu, 16 Dec 2010 18:13:38 +0000
(19:13 +0100)
scripts/linksys-wrt3g.php
patch
|
blob
|
history
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',
)
);