Update Usage: ordering in `backups`.

This commit is contained in:
William Melody 2020-06-08 09:49:36 -07:00
parent bd7edba09b
commit 39a182b47e
2 changed files with 4 additions and 4 deletions

View File

@ -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
View File

@ -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