1
0
mirror of https://github.com/octoleo/hosts.git synced 2024-11-26 06:46:43 +00:00

Add search usage to primary help output.

Update README.md to more accurately reflect `help` output.
This commit is contained in:
William Melody 2017-03-01 13:45:19 -08:00
parent 265a1c732e
commit 347189c059
2 changed files with 2 additions and 1 deletions

View File

@ -50,8 +50,8 @@ Usage:
hosts enabled hosts enabled
hosts file hosts file
hosts list [enabled | disabled | <search string>] hosts list [enabled | disabled | <search string>]
hosts show (<ip> | <hostname> | <search string>)
hosts search <search string> hosts search <search string>
hosts show (<ip> | <hostname> | <search string>)
hosts remove (<ip> | <hostname> | <search string>) [--force] hosts remove (<ip> | <hostname> | <search string>) [--force]
hosts unblock <hostname> hosts unblock <hostname>
``` ```

1
hosts
View File

@ -604,6 +604,7 @@ Usage:
${_ME} enabled ${_ME} enabled
${_ME} file ${_ME} file
${_ME} list [enabled | disabled | <search string>] ${_ME} list [enabled | disabled | <search string>]
${_ME} search <search string>
${_ME} show (<ip> | <hostname> | <search string>) ${_ME} show (<ip> | <hostname> | <search string>)
${_ME} remove (<ip> | <hostname> | <search string>) [--force] ${_ME} remove (<ip> | <hostname> | <search string>) [--force]
${_ME} unblock <hostname> ${_ME} unblock <hostname>