mirror of
https://github.com/octoleo/hosts.git
synced 2025-01-17 02:55:12 +00:00
Use 'search string' consistently instead of mixing with 'search term'
This commit is contained in:
parent
4d8c9a3385
commit
5844aa19a3
@ -7,11 +7,11 @@ A command line program with shortcuts for managing hosts file entries.
|
||||
Usage:
|
||||
hosts
|
||||
hosts add <ip> <hostname>
|
||||
hosts remove ( <ip> | <hostname> | <search term> ) [--force]
|
||||
hosts remove ( <ip> | <hostname> | <search string> ) [--force]
|
||||
hosts list [enabled | disabled | <search string>]
|
||||
hosts show ( <ip> | <hostname> | <search string> )
|
||||
hosts disable ( <ip> | <hostname> | <search term> )
|
||||
hosts enable ( <ip> | <hostname> | <search term> )
|
||||
hosts disable ( <ip> | <hostname> | <search string> )
|
||||
hosts enable ( <ip> | <hostname> | <search string> )
|
||||
hosts edit
|
||||
hosts file
|
||||
|
||||
|
18
hosts
18
hosts
@ -588,11 +588,11 @@ Version: $_VERSION
|
||||
Usage:
|
||||
$_me
|
||||
$_me add <ip> <hostname>
|
||||
$_me remove <hostname>
|
||||
$_me remove ( <ip> | <hostname> | <search string> ) [--force]
|
||||
$_me list [enabled | disabled | <search string>]
|
||||
$_me show ( <ip> | <hostname> | <search string> )
|
||||
$_me disable ( <ip> | <hostname> | <search term> )
|
||||
$_me enable ( <ip> | <hostname> | <search term> )
|
||||
$_me disable ( <ip> | <hostname> | <search string> )
|
||||
$_me enable ( <ip> | <hostname> | <search string> )
|
||||
$_me edit
|
||||
$_me file
|
||||
$_me command [--command-options] [<arguments>]
|
||||
@ -694,11 +694,11 @@ add() {
|
||||
|
||||
desc disable <<EOM
|
||||
Usage:
|
||||
$_me disable (<ip>|<hostname>|<search term>)
|
||||
$_me disable (<ip>|<hostname>|<search string>)
|
||||
|
||||
Description:
|
||||
Disable one or more records based on a given ip address, hostname, or
|
||||
search term.
|
||||
search string.
|
||||
EOM
|
||||
disable() {
|
||||
_verify_write_permissions
|
||||
@ -737,11 +737,11 @@ edit() {
|
||||
|
||||
desc enable <<EOM
|
||||
Usage:
|
||||
$_me enable (<ip>|<hostname>|<search term>)
|
||||
$_me enable (<ip>|<hostname>|<search string>)
|
||||
|
||||
Description:
|
||||
Enable one or more disabled records based on a given ip address, hostname,
|
||||
or search term.
|
||||
or search string.
|
||||
EOM
|
||||
enable() {
|
||||
_verify_write_permissions
|
||||
@ -809,14 +809,14 @@ list() {
|
||||
|
||||
desc remove <<EOM
|
||||
Usage:
|
||||
$_me remove ( <ip> | <hostname> | <search term> ) [--force]
|
||||
$_me remove ( <ip> | <hostname> | <search string> ) [--force]
|
||||
|
||||
Options:
|
||||
--force Skip the confirmation prompt.
|
||||
|
||||
Description:
|
||||
Remove one or more disabled records based on a given IP address, hostname,
|
||||
or search term.
|
||||
or search string.
|
||||
EOM
|
||||
remove() {
|
||||
_verify_write_permissions
|
||||
|
Loading…
Reference in New Issue
Block a user