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:
parent
e6ee93da47
commit
52529dd029
@ -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
4
hosts
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user