mirror of
https://github.com/octoleo/hosts.git
synced 2024-11-22 12:55:11 +00:00
Alphabetize subcommands in Usage.
It's easier to find a subcommand in an alphabetical list.
This commit is contained in:
parent
80a8e48c10
commit
eeab6e8ba1
@ -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
8
hosts
@ -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
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user