Skip to content

Commit

Permalink
Update manpages and auto-completion
Browse files Browse the repository at this point in the history
  • Loading branch information
fd0 committed Apr 23, 2019
1 parent 6e89963 commit c029881
Show file tree
Hide file tree
Showing 6 changed files with 36 additions and 4 deletions.
11 changes: 11 additions & 0 deletions doc/bash-completion.sh
Expand Up @@ -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")
Expand Down Expand Up @@ -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=")
Expand Down Expand Up @@ -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")
Expand Down
11 changes: 10 additions & 1 deletion doc/man/restic-backup.1
Expand Up @@ -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=[]
Expand All @@ -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
Expand Down
2 changes: 1 addition & 1 deletion doc/man/restic-find.1
Expand Up @@ -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=[]
Expand Down
8 changes: 8 additions & 0 deletions doc/man/restic-restore.1
Expand Up @@ -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)
Expand Down
4 changes: 4 additions & 0 deletions doc/man/restic-snapshots.1
Expand Up @@ -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
Expand Down
4 changes: 2 additions & 2 deletions doc/man/restic-stats.1
Expand Up @@ -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
Expand Down

0 comments on commit c029881

Please sign in to comment.