From e38d415173162a72caf55ce50d754f5b00b8e374 Mon Sep 17 00:00:00 2001 From: Michael Eischer Date: Tue, 4 Aug 2020 23:01:39 +0200 Subject: [PATCH] Adjust description of --verbose=n parameter --- cmd/restic/global.go | 2 +- doc/manual_rest.rst | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/cmd/restic/global.go b/cmd/restic/global.go index 4eb73d2bf..04c561a48 100644 --- a/cmd/restic/global.go +++ b/cmd/restic/global.go @@ -101,7 +101,7 @@ func init() { f.StringVarP(&globalOptions.KeyHint, "key-hint", "", os.Getenv("RESTIC_KEY_HINT"), "`key` ID of key to try decrypting first (default: $RESTIC_KEY_HINT)") f.StringVarP(&globalOptions.PasswordCommand, "password-command", "", os.Getenv("RESTIC_PASSWORD_COMMAND"), "specify a shell `command` to obtain a password (default: $RESTIC_PASSWORD_COMMAND)") f.BoolVarP(&globalOptions.Quiet, "quiet", "q", false, "do not output comprehensive progress report") - f.CountVarP(&globalOptions.Verbose, "verbose", "v", "be verbose (specify --verbose multiple times or level `n`)") + f.CountVarP(&globalOptions.Verbose, "verbose", "v", "be verbose (specify --verbose multiple times or level --verbose=`n`)") f.BoolVar(&globalOptions.NoLock, "no-lock", false, "do not lock the repo, this allows some operations on read-only repos") f.BoolVarP(&globalOptions.JSON, "json", "", false, "set output mode to JSON for commands that support it") f.StringVar(&globalOptions.CacheDir, "cache-dir", "", "set the cache `directory`. (default: use system default cache directory)") diff --git a/doc/manual_rest.rst b/doc/manual_rest.rst index 931476cb1..e2fc51a6e 100644 --- a/doc/manual_rest.rst +++ b/doc/manual_rest.rst @@ -60,7 +60,7 @@ Usage help is available: -q, --quiet do not output comprehensive progress report -r, --repo repository repository to backup to or restore from (default: $RESTIC_REPOSITORY) --tls-client-cert file path to a file containing PEM encoded TLS client certificate and private key - -v, --verbose n be verbose (specify --verbose multiple times or level n) + -v, --verbose n be verbose (specify --verbose multiple times or level --verbose=n) Use "restic [command] --help" for more information about a command. @@ -122,7 +122,7 @@ command: -q, --quiet do not output comprehensive progress report -r, --repo repository repository to backup to or restore from (default: $RESTIC_REPOSITORY) --tls-client-cert file path to a file containing PEM encoded TLS client certificate and private key - -v, --verbose n be verbose (specify --verbose multiple times or level n) + -v, --verbose n be verbose (specify --verbose multiple times or level --verbose=n) Subcommand that support showing progress information such as ``backup``, ``check`` and ``prune`` will do so unless the quiet flag ``-q`` or