From 39a182b47e9ecf926a3fec1b887807ff76396b95 Mon Sep 17 00:00:00 2001 From: William Melody Date: Mon, 8 Jun 2020 09:49:36 -0700 Subject: [PATCH] Update Usage: ordering in `backups`. --- README.md | 2 +- hosts | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index dad7663..875fcd0 100644 --- a/README.md +++ b/README.md @@ -329,7 +329,7 @@ alias hosts="hosts --auto-sudo" Usage: hosts [] hosts add [] - hosts backups [create | [compare | delete | restore | show] ] + hosts backups [create | (compare | delete | restore | show) ] hosts block ... hosts completions (check | install [-d | --download] | uninstall) hosts disable ( | | ) diff --git a/hosts b/hosts index fb594fa..09454cb 100755 --- a/hosts +++ b/hosts @@ -473,7 +473,7 @@ A program for managing host file entries. Usage: ${_ME} [] ${_ME} add [] - ${_ME} backups [create | [compare | delete | restore | show] ] + ${_ME} backups [create | (compare | delete | restore | show) ] ${_ME} block ... ${_ME} completions (check | install [-d | --download] | uninstall) ${_ME} disable ( | | ) @@ -613,16 +613,16 @@ add() { desc "backups" < ${_ME} backups create + ${_ME} backups compare ${_ME} backups delete ${_ME} backups restore [--skip-backup] ${_ME} backups show 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