1
0
mirror of https://github.com/octoleo/hosts.git synced 2024-11-25 22:27:42 +00:00

Clarify usage information

This commit is contained in:
William Melody 2015-03-16 17:26:58 -07:00
parent f714965f0f
commit fc60f3a0d7
2 changed files with 4 additions and 4 deletions

View File

@ -5,8 +5,8 @@ A program for managing host file entries.
## Usage
Usage:
hosts add ip hostname
hosts remove hostname
hosts add <ip> <hostname>
hosts remove <hostname>
hosts list [127.]
## Acknowledgements

4
hosts
View File

@ -632,7 +632,7 @@ commands() {
# ------------------------------------------------------------------------- add
desc add <<EOM
Usage: $_me add ip hostname
Usage: $_me add <ip> <hostname>
EOM
add() {
local ip=${1:-}
@ -669,7 +669,7 @@ list() {
# ---------------------------------------------------------------------- remove
desc remove <<EOM
Usage: $_me remove host
Usage: $_me remove <hostname>
EOM
remove() {
local hostname=${1:-}