1
0
mirror of https://github.com/octoleo/hosts.git synced 2024-11-14 01:04:08 +00:00

Correct typo in help usage + add info about --force in Readme

This commit is contained in:
William Melody 2015-03-19 17:14:04 -07:00
parent e6ee93da47
commit 52529dd029
2 changed files with 5 additions and 4 deletions

View File

@ -41,8 +41,9 @@ Add a given IP address and hostname pair.
###### `hosts remove ( <ip> | <hostname> | <search string> ) [--force]`
Remove one or more disabled records based on a given IP address, hostname,
or search string.
Remove one or more records based on a given IP address, hostname, or search
string. When the `--force` option is used, the confirmation prompt is
supressed.
###### `hosts list [enabled | disabled | <search string>]`

4
hosts
View File

@ -721,8 +721,8 @@ Options:
--force Skip the confirmation prompt.
Description:
Remove one or more disabled records based on a given IP address, hostname,
or search string.
Remove one or more records based on a given IP address, hostname, or search
string.
EOM
remove() {
_verify_write_permissions