Update manpages and auto-completion

This commit is contained in:
Alexander Neumann 2019-04-23 13:19:39 +02:00
parent 6e89963c21
commit c029881379
6 changed files with 36 additions and 4 deletions

View File

@ -277,6 +277,10 @@ _restic_backup()
flags+=("--host=")
two_word_flags+=("-H")
local_nonpersistent_flags+=("--host=")
flags+=("--iexclude=")
local_nonpersistent_flags+=("--iexclude=")
flags+=("--ignore-inode")
local_nonpersistent_flags+=("--ignore-inode")
flags+=("--one-file-system")
flags+=("-x")
local_nonpersistent_flags+=("--one-file-system")
@ -1222,6 +1226,10 @@ _restic_restore()
flags+=("--host=")
two_word_flags+=("-H")
local_nonpersistent_flags+=("--host=")
flags+=("--iexclude=")
local_nonpersistent_flags+=("--iexclude=")
flags+=("--iinclude=")
local_nonpersistent_flags+=("--iinclude=")
flags+=("--include=")
two_word_flags+=("-i")
local_nonpersistent_flags+=("--include=")
@ -1324,6 +1332,9 @@ _restic_snapshots()
flags+=("--compact")
flags+=("-c")
local_nonpersistent_flags+=("--compact")
flags+=("--group-by=")
two_word_flags+=("-g")
local_nonpersistent_flags+=("--group-by=")
flags+=("--help")
flags+=("-h")
local_nonpersistent_flags+=("--help")

View File

@ -26,7 +26,8 @@ given as the arguments.
.PP
\fB\-\-exclude\-caches\fP[=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
excludes cache directories that are marked with a CACHEDIR.TAG file. See
\[la]http://bford.info/cachedir/spec.html\[ra] for the Cache Directory Tagging Standard
.PP
\fB\-\-exclude\-file\fP=[]
@ -52,6 +53,14 @@ given as the arguments.
\fB\-H\fP, \fB\-\-host\fP=""
set the \fB\fChostname\fR for the snapshot manually. To prevent an expensive rescan use the "parent" flag
.PP
\fB\-\-iexclude\fP=[]
same as \fB\fC\-\-exclude\fR but ignores the casing of filenames
.PP
\fB\-\-ignore\-inode\fP[=false]
ignore inode number changes when checking for modified files
.PP
\fB\-x\fP, \fB\-\-one\-file\-system\fP[=false]
exclude other file systems

View File

@ -59,7 +59,7 @@ It can also be used to search for restic blobs or trees for troubleshooting.
.PP
\fB\-\-show\-pack\-id\fP[=false]
display the pack\-ID the blobs belong to (with \-\-blob)
display the pack\-ID the blobs belong to (with \-\-blob or \-\-tree)
.PP
\fB\-s\fP, \fB\-\-snapshot\fP=[]

View File

@ -36,6 +36,14 @@ repository.
\fB\-H\fP, \fB\-\-host\fP=""
only consider snapshots for this host when the snapshot ID is "latest"
.PP
\fB\-\-iexclude\fP=[]
same as \fB\fC\-\-exclude\fR but ignores the casing of filenames
.PP
\fB\-\-iinclude\fP=[]
same as \fB\fC\-\-include\fR but ignores the casing of filenames
.PP
\fB\-i\fP, \fB\-\-include\fP=[]
include a \fB\fCpattern\fR, exclude everything else (can be specified multiple times)

View File

@ -23,6 +23,10 @@ The "snapshots" command lists all snapshots stored in the repository.
\fB\-c\fP, \fB\-\-compact\fP[=false]
use compact format
.PP
\fB\-g\fP, \fB\-\-group\-by\fP=""
string for grouping snapshots by host,paths,tags
.PP
\fB\-h\fP, \fB\-\-help\fP[=false]
help for snapshots

View File

@ -41,11 +41,11 @@ how many files reference them.
.IP \(bu 2
blobs\-per\-file: A combination of files\-by\-contents and raw\-data.
.RE
.PP
Refer to the online manual for more details about each mode.
.RE
.SH OPTIONS
.PP