Alphabetize subcommands in Usage.

It's easier to find a subcommand in an alphabetical list.
This commit is contained in:
William Melody 2016-01-15 16:52:41 -08:00
parent 80a8e48c10
commit eeab6e8ba1
2 changed files with 8 additions and 8 deletions

View File

@ -42,15 +42,15 @@ curl -L https://raw.github.com/alphabetum/hosts/master/hosts \
Usage:
hosts
hosts add <ip> <hostname> [comment]
hosts remove ( <ip> | <hostname> | <search string> ) [--force]
hosts list [enabled | disabled | <search string>]
hosts show ( <ip> | <hostname> | <search string> )
hosts disable ( <ip> | <hostname> | <search string> )
hosts disabled
hosts edit
hosts enable ( <ip> | <hostname> | <search string> )
hosts enabled
hosts edit
hosts file
hosts list [enabled | disabled | <search string>]
hosts show ( <ip> | <hostname> | <search string> )
hosts remove ( <ip> | <hostname> | <search string> ) [--force]
```
For full usage, run:

8
hosts
View File

@ -588,15 +588,15 @@ Version: $_VERSION
Usage:
$_ME
$_ME add <ip> <hostname> [comment]
$_ME remove ( <ip> | <hostname> | <search string> ) [--force]
$_ME list [enabled | disabled | <search string>]
$_ME show ( <ip> | <hostname> | <search string> )
$_ME disable ( <ip> | <hostname> | <search string> )
$_ME disabled
$_ME edit
$_ME enable ( <ip> | <hostname> | <search string> )
$_ME enabled
$_ME edit
$_ME file
$_ME list [enabled | disabled | <search string>]
$_ME show ( <ip> | <hostname> | <search string> )
$_ME remove ( <ip> | <hostname> | <search string> ) [--force]
$_ME -h | --help
$_ME --version