Use 'search string' consistently instead of mixing with 'search term'

This commit is contained in:
William Melody 2015-03-18 18:22:37 -07:00
parent 4d8c9a3385
commit 5844aa19a3
2 changed files with 12 additions and 12 deletions

View File

@ -7,11 +7,11 @@ A command line program with shortcuts for managing hosts file entries.
Usage: Usage:
hosts hosts
hosts add <ip> <hostname> 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 list [enabled | disabled | <search string>]
hosts show ( <ip> | <hostname> | <search string> ) hosts show ( <ip> | <hostname> | <search string> )
hosts disable ( <ip> | <hostname> | <search term> ) hosts disable ( <ip> | <hostname> | <search string> )
hosts enable ( <ip> | <hostname> | <search term> ) hosts enable ( <ip> | <hostname> | <search string> )
hosts edit hosts edit
hosts file hosts file

18
hosts
View File

@ -588,11 +588,11 @@ Version: $_VERSION
Usage: Usage:
$_me $_me
$_me add <ip> <hostname> $_me add <ip> <hostname>
$_me remove <hostname> $_me remove ( <ip> | <hostname> | <search string> ) [--force]
$_me list [enabled | disabled | <search string>] $_me list [enabled | disabled | <search string>]
$_me show ( <ip> | <hostname> | <search string> ) $_me show ( <ip> | <hostname> | <search string> )
$_me disable ( <ip> | <hostname> | <search term> ) $_me disable ( <ip> | <hostname> | <search string> )
$_me enable ( <ip> | <hostname> | <search term> ) $_me enable ( <ip> | <hostname> | <search string> )
$_me edit $_me edit
$_me file $_me file
$_me command [--command-options] [<arguments>] $_me command [--command-options] [<arguments>]
@ -694,11 +694,11 @@ add() {
desc disable <<EOM desc disable <<EOM
Usage: Usage:
$_me disable (<ip>|<hostname>|<search term>) $_me disable (<ip>|<hostname>|<search string>)
Description: Description:
Disable one or more records based on a given ip address, hostname, or Disable one or more records based on a given ip address, hostname, or
search term. search string.
EOM EOM
disable() { disable() {
_verify_write_permissions _verify_write_permissions
@ -737,11 +737,11 @@ edit() {
desc enable <<EOM desc enable <<EOM
Usage: Usage:
$_me enable (<ip>|<hostname>|<search term>) $_me enable (<ip>|<hostname>|<search string>)
Description: Description:
Enable one or more disabled records based on a given ip address, hostname, Enable one or more disabled records based on a given ip address, hostname,
or search term. or search string.
EOM EOM
enable() { enable() {
_verify_write_permissions _verify_write_permissions
@ -809,14 +809,14 @@ list() {
desc remove <<EOM desc remove <<EOM
Usage: Usage:
$_me remove ( <ip> | <hostname> | <search term> ) [--force] $_me remove ( <ip> | <hostname> | <search string> ) [--force]
Options: Options:
--force Skip the confirmation prompt. --force Skip the confirmation prompt.
Description: Description:
Remove one or more disabled records based on a given IP address, hostname, Remove one or more disabled records based on a given IP address, hostname,
or search term. or search string.
EOM EOM
remove() { remove() {
_verify_write_permissions _verify_write_permissions