command aliases
authorChristian Weiske <cweiske@cweiske.de>
Wed, 15 Dec 2010 17:46:18 +0000 (18:46 +0100)
committerChristian Weiske <cweiske@cweiske.de>
Wed, 15 Dec 2010 17:46:18 +0000 (18:46 +0100)
scripts/linksys-wrt3g.php

index 520d6ba..ae7317b 100755 (executable)
@@ -66,12 +66,14 @@ $parser->addOption(
 $parser->addCommand(
     'status',
     array(
+        'aliases'     => array('s', 'st'),
         'description' => 'Show the router status'
     )
 );
 $parser->addCommand(
     'reboot',
     array(
+        'aliases'     => array('r'),
         'description' => 'Reboot the router'
     )
 );