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 520d6bae2ac9edb7a812c7d18b4875856313a6d5..ae7317bd3a00f50e42af14b743f61c440c50ae69 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'
     )
 );