mirror of
https://github.com/restic/restic.git
synced 2024-12-23 08:16:36 +00:00
fix typo
This commit is contained in:
parent
094e80f4a4
commit
d47758a540
2 changed files with 3 additions and 3 deletions
|
@ -77,7 +77,7 @@ Available Commands:
|
||||||
Flags:
|
Flags:
|
||||||
--no-lock do not lock the repo, this allows some operations on read-only repos
|
--no-lock do not lock the repo, this allows some operations on read-only repos
|
||||||
-p, --password-file string read the repository password from a file
|
-p, --password-file string read the repository password from a file
|
||||||
-q, --quiet do not outputcomprehensive progress report
|
-q, --quiet do not output comprehensive progress report
|
||||||
-r, --repo string repository to backup to or restore from (default: $RESTIC_REPOSITORY)
|
-r, --repo string repository to backup to or restore from (default: $RESTIC_REPOSITORY)
|
||||||
|
|
||||||
Use "restic [command] --help" for more information about a command.
|
Use "restic [command] --help" for more information about a command.
|
||||||
|
@ -110,7 +110,7 @@ Flags:
|
||||||
Global Flags:
|
Global Flags:
|
||||||
--no-lock do not lock the repo, this allows some operations on read-only repos
|
--no-lock do not lock the repo, this allows some operations on read-only repos
|
||||||
-p, --password-file string read the repository password from a file
|
-p, --password-file string read the repository password from a file
|
||||||
-q, --quiet do not outputcomprehensive progress report
|
-q, --quiet do not output comprehensive progress report
|
||||||
-r, --repo string repository to backup to or restore from (default: $RESTIC_REPOSITORY)
|
-r, --repo string repository to backup to or restore from (default: $RESTIC_REPOSITORY)
|
||||||
```
|
```
|
||||||
|
|
||||||
|
|
|
@ -51,7 +51,7 @@ func init() {
|
||||||
f := cmdRoot.PersistentFlags()
|
f := cmdRoot.PersistentFlags()
|
||||||
f.StringVarP(&globalOptions.Repo, "repo", "r", os.Getenv("RESTIC_REPOSITORY"), "repository to backup to or restore from (default: $RESTIC_REPOSITORY)")
|
f.StringVarP(&globalOptions.Repo, "repo", "r", os.Getenv("RESTIC_REPOSITORY"), "repository to backup to or restore from (default: $RESTIC_REPOSITORY)")
|
||||||
f.StringVarP(&globalOptions.PasswordFile, "password-file", "p", "", "read the repository password from a file")
|
f.StringVarP(&globalOptions.PasswordFile, "password-file", "p", "", "read the repository password from a file")
|
||||||
f.BoolVarP(&globalOptions.Quiet, "quiet", "q", false, "do not outputcomprehensive progress report")
|
f.BoolVarP(&globalOptions.Quiet, "quiet", "q", false, "do not output comprehensive progress report")
|
||||||
f.BoolVar(&globalOptions.NoLock, "no-lock", false, "do not lock the repo, this allows some operations on read-only repos")
|
f.BoolVar(&globalOptions.NoLock, "no-lock", false, "do not lock the repo, this allows some operations on read-only repos")
|
||||||
|
|
||||||
restoreTerminal()
|
restoreTerminal()
|
||||||
|
|
Loading…
Reference in a new issue