aboutsummaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorChristian Weiske <cweiske@cweiske.de>2010-12-16 19:13:38 +0100
committerChristian Weiske <cweiske@cweiske.de>2010-12-16 19:13:38 +0100
commitcd764657b069da8851f826dfcf612fb7de2ece9a (patch)
tree45d832892f325d8a7bef7d31448d364e9b8eadf6 /scripts
parent3127f7c70315c3a5db3f4442fbf0d2da05ab8a40 (diff)
downloadlinksys-wrt3g-tools-cd764657b069da8851f826dfcf612fb7de2ece9a.tar.gz
linksys-wrt3g-tools-cd764657b069da8851f826dfcf612fb7de2ece9a.zip
move dummy host help to dummy param
Diffstat (limited to 'scripts')
-rwxr-xr-xscripts/linksys-wrt3g.php8
1 files changed, 3 insertions, 5 deletions
diff --git a/scripts/linksys-wrt3g.php b/scripts/linksys-wrt3g.php
index 628dfe9..eb056a9 100755
--- a/scripts/linksys-wrt3g.php
+++ b/scripts/linksys-wrt3g.php
@@ -27,10 +27,7 @@ if (file_exists($configFile)) {
}
$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',
@@ -78,7 +75,8 @@ $parser->addOption(
'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',
)
);