From cd764657b069da8851f826dfcf612fb7de2ece9a Mon Sep 17 00:00:00 2001 From: Christian Weiske Date: Thu, 16 Dec 2010 19:13:38 +0100 Subject: [PATCH] move dummy host help to dummy param --- scripts/linksys-wrt3g.php | 8 +++----- 1 file 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', ) ); -- 2.30.2