mirror of
https://github.com/octoleo/restic.git
synced 2024-12-02 09:58:25 +00:00
Merge pull request #2232 from jacksgt/document_cachedir-tag
Mention Cache Directoy Tagging Standard in man page and help text
This commit is contained in:
commit
fb064afa34
@ -101,7 +101,7 @@ func init() {
|
|||||||
f.StringArrayVar(&backupOptions.ExcludeFiles, "exclude-file", nil, "read exclude patterns from a `file` (can be specified multiple times)")
|
f.StringArrayVar(&backupOptions.ExcludeFiles, "exclude-file", nil, "read exclude patterns from a `file` (can be specified multiple times)")
|
||||||
f.BoolVarP(&backupOptions.ExcludeOtherFS, "one-file-system", "x", false, "exclude other file systems")
|
f.BoolVarP(&backupOptions.ExcludeOtherFS, "one-file-system", "x", false, "exclude other file systems")
|
||||||
f.StringArrayVar(&backupOptions.ExcludeIfPresent, "exclude-if-present", nil, "takes filename[:header], exclude contents of directories containing filename (except filename itself) if header of that file is as provided (can be specified multiple times)")
|
f.StringArrayVar(&backupOptions.ExcludeIfPresent, "exclude-if-present", nil, "takes filename[:header], exclude contents of directories containing filename (except filename itself) if header of that file is as provided (can be specified multiple times)")
|
||||||
f.BoolVar(&backupOptions.ExcludeCaches, "exclude-caches", false, `excludes cache directories that are marked with a CACHEDIR.TAG file`)
|
f.BoolVar(&backupOptions.ExcludeCaches, "exclude-caches", false, `excludes cache directories that are marked with a CACHEDIR.TAG file. See http://bford.info/cachedir/spec.html for the Cache Directory Tagging Standard`)
|
||||||
f.BoolVar(&backupOptions.Stdin, "stdin", false, "read backup from stdin")
|
f.BoolVar(&backupOptions.Stdin, "stdin", false, "read backup from stdin")
|
||||||
f.StringVar(&backupOptions.StdinFilename, "stdin-filename", "stdin", "file name to use when reading from stdin")
|
f.StringVar(&backupOptions.StdinFilename, "stdin-filename", "stdin", "file name to use when reading from stdin")
|
||||||
f.StringArrayVar(&backupOptions.Tags, "tag", nil, "add a `tag` for the new snapshot (can be specified multiple times)")
|
f.StringArrayVar(&backupOptions.Tags, "tag", nil, "add a `tag` for the new snapshot (can be specified multiple times)")
|
||||||
|
@ -26,7 +26,7 @@ given as the arguments.
|
|||||||
|
|
||||||
.PP
|
.PP
|
||||||
\fB\-\-exclude\-caches\fP[=false]
|
\fB\-\-exclude\-caches\fP[=false]
|
||||||
excludes cache directories that are marked with a CACHEDIR.TAG file
|
excludes cache directories that are marked with a CACHEDIR.TAG file. See http://bford.info/cachedir/spec.html for the Cache Directory Tagging Standard
|
||||||
|
|
||||||
.PP
|
.PP
|
||||||
\fB\-\-exclude\-file\fP=[]
|
\fB\-\-exclude\-file\fP=[]
|
||||||
|
@ -78,7 +78,7 @@ command:
|
|||||||
|
|
||||||
Flags:
|
Flags:
|
||||||
-e, --exclude pattern exclude a pattern (can be specified multiple times)
|
-e, --exclude pattern exclude a pattern (can be specified multiple times)
|
||||||
--exclude-caches excludes cache directories that are marked with a CACHEDIR.TAG file
|
--exclude-caches excludes cache directories that are marked with a CACHEDIR.TAG file. See http://bford.info/cachedir/spec.html for the Cache Directory Tagging Standard
|
||||||
--exclude-file file read exclude patterns from a file (can be specified multiple times)
|
--exclude-file file read exclude patterns from a file (can be specified multiple times)
|
||||||
--exclude-if-present stringArray takes filename[:header], exclude contents of directories containing filename (except filename itself) if header of that file is as provided (can be specified multiple times)
|
--exclude-if-present stringArray takes filename[:header], exclude contents of directories containing filename (except filename itself) if header of that file is as provided (can be specified multiple times)
|
||||||
--files-from string read the files to backup from file (can be combined with file args/can be specified multiple times)
|
--files-from string read the files to backup from file (can be combined with file args/can be specified multiple times)
|
||||||
|
Loading…
Reference in New Issue
Block a user