mirror of
https://github.com/octoleo/hosts.git
synced 2024-11-21 20:35:10 +00:00
Update Usage: ordering in backups
.
This commit is contained in:
parent
bd7edba09b
commit
39a182b47e
@ -329,7 +329,7 @@ alias hosts="hosts --auto-sudo"
|
||||
Usage:
|
||||
hosts [<search string>]
|
||||
hosts add <ip> <hostname> [<comment>]
|
||||
hosts backups [create | [compare | delete | restore | show] <filename>]
|
||||
hosts backups [create | (compare | delete | restore | show) <filename>]
|
||||
hosts block <hostname>...
|
||||
hosts completions (check | install [-d | --download] | uninstall)
|
||||
hosts disable (<ip> | <hostname> | <search string>)
|
||||
|
6
hosts
6
hosts
@ -473,7 +473,7 @@ A program for managing host file entries.
|
||||
Usage:
|
||||
${_ME} [<search string>]
|
||||
${_ME} add <ip> <hostname> [<comment>]
|
||||
${_ME} backups [create | [compare | delete | restore | show] <filename>]
|
||||
${_ME} backups [create | (compare | delete | restore | show) <filename>]
|
||||
${_ME} block <hostname>...
|
||||
${_ME} completions (check | install [-d | --download] | uninstall)
|
||||
${_ME} disable (<ip> | <hostname> | <search string>)
|
||||
@ -613,16 +613,16 @@ add() {
|
||||
desc "backups" <<HEREDOC
|
||||
Usage:
|
||||
${_ME} backups
|
||||
${_ME} backups compare <filename>
|
||||
${_ME} backups create
|
||||
${_ME} backups compare <filename>
|
||||
${_ME} backups delete <filename>
|
||||
${_ME} backups restore <filename> [--skip-backup]
|
||||
${_ME} backups show <filename>
|
||||
|
||||
Subcommands:
|
||||
backups List available backups.
|
||||
backups compare Compare a backup file with the current hosts file.
|
||||
backups create Create a new backup of the hosts file.
|
||||
backups compare Compare a backup file with the current hosts file.
|
||||
backups delete Delete the specified backup.
|
||||
backups restore Replace the contents of the hosts file with a
|
||||
specified backup. The hosts file is automatically
|
||||
|
Loading…
Reference in New Issue
Block a user