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 Feb 4, 2024
1 parent b0ead75 commit 811be59
Show file tree
Hide file tree
Showing 32 changed files with 157 additions and 0 deletions.
33 changes: 33 additions & 0 deletions doc/bash-completion.sh
Original file line number Diff line number Diff line change
Expand Up @@ -488,6 +488,7 @@ _restic_backup()
flags+=("--limit-upload=")
two_word_flags+=("--limit-upload")
flags+=("--no-cache")
flags+=("--no-extra-verify")
flags+=("--no-lock")
flags+=("--option=")
two_word_flags+=("--option")
Expand Down Expand Up @@ -560,6 +561,7 @@ _restic_cache()
flags+=("--limit-upload=")
two_word_flags+=("--limit-upload")
flags+=("--no-cache")
flags+=("--no-extra-verify")
flags+=("--no-lock")
flags+=("--option=")
two_word_flags+=("--option")
Expand Down Expand Up @@ -624,6 +626,7 @@ _restic_cat()
flags+=("--limit-upload=")
two_word_flags+=("--limit-upload")
flags+=("--no-cache")
flags+=("--no-extra-verify")
flags+=("--no-lock")
flags+=("--option=")
two_word_flags+=("--option")
Expand Down Expand Up @@ -696,6 +699,7 @@ _restic_check()
flags+=("--limit-upload=")
two_word_flags+=("--limit-upload")
flags+=("--no-cache")
flags+=("--no-extra-verify")
flags+=("--no-lock")
flags+=("--option=")
two_word_flags+=("--option")
Expand Down Expand Up @@ -794,6 +798,7 @@ _restic_copy()
flags+=("--limit-upload=")
two_word_flags+=("--limit-upload")
flags+=("--no-cache")
flags+=("--no-extra-verify")
flags+=("--no-lock")
flags+=("--option=")
two_word_flags+=("--option")
Expand Down Expand Up @@ -860,6 +865,7 @@ _restic_diff()
flags+=("--limit-upload=")
two_word_flags+=("--limit-upload")
flags+=("--no-cache")
flags+=("--no-extra-verify")
flags+=("--no-lock")
flags+=("--option=")
two_word_flags+=("--option")
Expand Down Expand Up @@ -944,6 +950,7 @@ _restic_dump()
flags+=("--limit-upload=")
two_word_flags+=("--limit-upload")
flags+=("--no-cache")
flags+=("--no-extra-verify")
flags+=("--no-lock")
flags+=("--option=")
two_word_flags+=("--option")
Expand Down Expand Up @@ -1058,6 +1065,7 @@ _restic_find()
flags+=("--limit-upload=")
two_word_flags+=("--limit-upload")
flags+=("--no-cache")
flags+=("--no-extra-verify")
flags+=("--no-lock")
flags+=("--option=")
two_word_flags+=("--option")
Expand Down Expand Up @@ -1228,6 +1236,7 @@ _restic_forget()
flags+=("--limit-upload=")
two_word_flags+=("--limit-upload")
flags+=("--no-cache")
flags+=("--no-extra-verify")
flags+=("--no-lock")
flags+=("--option=")
two_word_flags+=("--option")
Expand Down Expand Up @@ -1312,6 +1321,7 @@ _restic_generate()
flags+=("--limit-upload=")
two_word_flags+=("--limit-upload")
flags+=("--no-cache")
flags+=("--no-extra-verify")
flags+=("--no-lock")
flags+=("--option=")
two_word_flags+=("--option")
Expand Down Expand Up @@ -1372,6 +1382,7 @@ _restic_help()
flags+=("--limit-upload=")
two_word_flags+=("--limit-upload")
flags+=("--no-cache")
flags+=("--no-extra-verify")
flags+=("--no-lock")
flags+=("--option=")
two_word_flags+=("--option")
Expand Down Expand Up @@ -1463,6 +1474,7 @@ _restic_init()
flags+=("--limit-upload=")
two_word_flags+=("--limit-upload")
flags+=("--no-cache")
flags+=("--no-extra-verify")
flags+=("--no-lock")
flags+=("--option=")
two_word_flags+=("--option")
Expand Down Expand Up @@ -1539,6 +1551,7 @@ _restic_key()
flags+=("--limit-upload=")
two_word_flags+=("--limit-upload")
flags+=("--no-cache")
flags+=("--no-extra-verify")
flags+=("--no-lock")
flags+=("--option=")
two_word_flags+=("--option")
Expand Down Expand Up @@ -1603,6 +1616,7 @@ _restic_list()
flags+=("--limit-upload=")
two_word_flags+=("--limit-upload")
flags+=("--no-cache")
flags+=("--no-extra-verify")
flags+=("--no-lock")
flags+=("--option=")
two_word_flags+=("--option")
Expand Down Expand Up @@ -1689,6 +1703,7 @@ _restic_ls()
flags+=("--limit-upload=")
two_word_flags+=("--limit-upload")
flags+=("--no-cache")
flags+=("--no-extra-verify")
flags+=("--no-lock")
flags+=("--option=")
two_word_flags+=("--option")
Expand Down Expand Up @@ -1757,6 +1772,7 @@ _restic_migrate()
flags+=("--limit-upload=")
two_word_flags+=("--limit-upload")
flags+=("--no-cache")
flags+=("--no-extra-verify")
flags+=("--no-lock")
flags+=("--option=")
two_word_flags+=("--option")
Expand Down Expand Up @@ -1849,6 +1865,7 @@ _restic_mount()
flags+=("--limit-upload=")
two_word_flags+=("--limit-upload")
flags+=("--no-cache")
flags+=("--no-extra-verify")
flags+=("--no-lock")
flags+=("--option=")
two_word_flags+=("--option")
Expand Down Expand Up @@ -1935,6 +1952,7 @@ _restic_prune()
flags+=("--limit-upload=")
two_word_flags+=("--limit-upload")
flags+=("--no-cache")
flags+=("--no-extra-verify")
flags+=("--no-lock")
flags+=("--option=")
two_word_flags+=("--option")
Expand Down Expand Up @@ -1999,6 +2017,7 @@ _restic_recover()
flags+=("--limit-upload=")
two_word_flags+=("--limit-upload")
flags+=("--no-cache")
flags+=("--no-extra-verify")
flags+=("--no-lock")
flags+=("--option=")
two_word_flags+=("--option")
Expand Down Expand Up @@ -2059,6 +2078,7 @@ _restic_repair_help()
flags+=("--limit-upload=")
two_word_flags+=("--limit-upload")
flags+=("--no-cache")
flags+=("--no-extra-verify")
flags+=("--no-lock")
flags+=("--option=")
two_word_flags+=("--option")
Expand Down Expand Up @@ -2126,6 +2146,7 @@ _restic_repair_index()
flags+=("--limit-upload=")
two_word_flags+=("--limit-upload")
flags+=("--no-cache")
flags+=("--no-extra-verify")
flags+=("--no-lock")
flags+=("--option=")
two_word_flags+=("--option")
Expand Down Expand Up @@ -2190,6 +2211,7 @@ _restic_repair_packs()
flags+=("--limit-upload=")
two_word_flags+=("--limit-upload")
flags+=("--no-cache")
flags+=("--no-extra-verify")
flags+=("--no-lock")
flags+=("--option=")
two_word_flags+=("--option")
Expand Down Expand Up @@ -2274,6 +2296,7 @@ _restic_repair_snapshots()
flags+=("--limit-upload=")
two_word_flags+=("--limit-upload")
flags+=("--no-cache")
flags+=("--no-extra-verify")
flags+=("--no-lock")
flags+=("--option=")
two_word_flags+=("--option")
Expand Down Expand Up @@ -2342,6 +2365,7 @@ _restic_repair()
flags+=("--limit-upload=")
two_word_flags+=("--limit-upload")
flags+=("--no-cache")
flags+=("--no-extra-verify")
flags+=("--no-lock")
flags+=("--option=")
two_word_flags+=("--option")
Expand Down Expand Up @@ -2450,6 +2474,7 @@ _restic_restore()
flags+=("--limit-upload=")
two_word_flags+=("--limit-upload")
flags+=("--no-cache")
flags+=("--no-extra-verify")
flags+=("--no-lock")
flags+=("--option=")
two_word_flags+=("--option")
Expand Down Expand Up @@ -2552,6 +2577,7 @@ _restic_rewrite()
flags+=("--limit-upload=")
two_word_flags+=("--limit-upload")
flags+=("--no-cache")
flags+=("--no-extra-verify")
flags+=("--no-lock")
flags+=("--option=")
two_word_flags+=("--option")
Expand Down Expand Up @@ -2620,6 +2646,7 @@ _restic_self-update()
flags+=("--limit-upload=")
two_word_flags+=("--limit-upload")
flags+=("--no-cache")
flags+=("--no-extra-verify")
flags+=("--no-lock")
flags+=("--option=")
two_word_flags+=("--option")
Expand Down Expand Up @@ -2712,6 +2739,7 @@ _restic_snapshots()
flags+=("--limit-upload=")
two_word_flags+=("--limit-upload")
flags+=("--no-cache")
flags+=("--no-extra-verify")
flags+=("--no-lock")
flags+=("--option=")
two_word_flags+=("--option")
Expand Down Expand Up @@ -2794,6 +2822,7 @@ _restic_stats()
flags+=("--limit-upload=")
two_word_flags+=("--limit-upload")
flags+=("--no-cache")
flags+=("--no-extra-verify")
flags+=("--no-lock")
flags+=("--option=")
two_word_flags+=("--option")
Expand Down Expand Up @@ -2884,6 +2913,7 @@ _restic_tag()
flags+=("--limit-upload=")
two_word_flags+=("--limit-upload")
flags+=("--no-cache")
flags+=("--no-extra-verify")
flags+=("--no-lock")
flags+=("--option=")
two_word_flags+=("--option")
Expand Down Expand Up @@ -2950,6 +2980,7 @@ _restic_unlock()
flags+=("--limit-upload=")
two_word_flags+=("--limit-upload")
flags+=("--no-cache")
flags+=("--no-extra-verify")
flags+=("--no-lock")
flags+=("--option=")
two_word_flags+=("--option")
Expand Down Expand Up @@ -3014,6 +3045,7 @@ _restic_version()
flags+=("--limit-upload=")
two_word_flags+=("--limit-upload")
flags+=("--no-cache")
flags+=("--no-extra-verify")
flags+=("--no-lock")
flags+=("--option=")
two_word_flags+=("--option")
Expand Down Expand Up @@ -3106,6 +3138,7 @@ _restic_root_command()
flags+=("--limit-upload=")
two_word_flags+=("--limit-upload")
flags+=("--no-cache")
flags+=("--no-extra-verify")
flags+=("--no-lock")
flags+=("--option=")
two_word_flags+=("--option")
Expand Down
4 changes: 4 additions & 0 deletions doc/man/restic-backup.1
Original file line number Diff line number Diff line change
Expand Up @@ -171,6 +171,10 @@ Exit status is 3 if some source data could not be read (incomplete snapshot crea
\fB--no-cache\fP[=false]
do not use a local cache

.PP
\fB--no-extra-verify\fP[=false]
skip additional verification of data before upload (see documentation)

.PP
\fB--no-lock\fP[=false]
do not lock the repository, this allows some operations on read-only repositories
Expand Down
4 changes: 4 additions & 0 deletions doc/man/restic-cache.1
Original file line number Diff line number Diff line change
Expand Up @@ -80,6 +80,10 @@ Exit status is 0 if the command was successful, and non-zero if there was any er
\fB--no-cache\fP[=false]
do not use a local cache

.PP
\fB--no-extra-verify\fP[=false]
skip additional verification of data before upload (see documentation)

.PP
\fB--no-lock\fP[=false]
do not lock the repository, this allows some operations on read-only repositories
Expand Down
4 changes: 4 additions & 0 deletions doc/man/restic-cat.1
Original file line number Diff line number Diff line change
Expand Up @@ -68,6 +68,10 @@ Exit status is 0 if the command was successful, and non-zero if there was any er
\fB--no-cache\fP[=false]
do not use a local cache

.PP
\fB--no-extra-verify\fP[=false]
skip additional verification of data before upload (see documentation)

.PP
\fB--no-lock\fP[=false]
do not lock the repository, this allows some operations on read-only repositories
Expand Down
4 changes: 4 additions & 0 deletions doc/man/restic-check.1
Original file line number Diff line number Diff line change
Expand Up @@ -85,6 +85,10 @@ Exit status is 0 if the command was successful, and non-zero if there was any er
\fB--no-cache\fP[=false]
do not use a local cache

.PP
\fB--no-extra-verify\fP[=false]
skip additional verification of data before upload (see documentation)

.PP
\fB--no-lock\fP[=false]
do not lock the repository, this allows some operations on read-only repositories
Expand Down
4 changes: 4 additions & 0 deletions doc/man/restic-copy.1
Original file line number Diff line number Diff line change
Expand Up @@ -109,6 +109,10 @@ new destination repository using the "init" command.
\fB--no-cache\fP[=false]
do not use a local cache

.PP
\fB--no-extra-verify\fP[=false]
skip additional verification of data before upload (see documentation)

.PP
\fB--no-lock\fP[=false]
do not lock the repository, this allows some operations on read-only repositories
Expand Down
4 changes: 4 additions & 0 deletions doc/man/restic-diff.1
Original file line number Diff line number Diff line change
Expand Up @@ -93,6 +93,10 @@ Exit status is 0 if the command was successful, and non-zero if there was any er
\fB--no-cache\fP[=false]
do not use a local cache

.PP
\fB--no-extra-verify\fP[=false]
skip additional verification of data before upload (see documentation)

.PP
\fB--no-lock\fP[=false]
do not lock the repository, this allows some operations on read-only repositories
Expand Down
4 changes: 4 additions & 0 deletions doc/man/restic-dump.1
Original file line number Diff line number Diff line change
Expand Up @@ -96,6 +96,10 @@ Exit status is 0 if the command was successful, and non-zero if there was any er
\fB--no-cache\fP[=false]
do not use a local cache

.PP
\fB--no-extra-verify\fP[=false]
skip additional verification of data before upload (see documentation)

.PP
\fB--no-lock\fP[=false]
do not lock the repository, this allows some operations on read-only repositories
Expand Down
4 changes: 4 additions & 0 deletions doc/man/restic-find.1
Original file line number Diff line number Diff line change
Expand Up @@ -117,6 +117,10 @@ It can also be used to search for restic blobs or trees for troubleshooting.
\fB--no-cache\fP[=false]
do not use a local cache

.PP
\fB--no-extra-verify\fP[=false]
skip additional verification of data before upload (see documentation)

.PP
\fB--no-lock\fP[=false]
do not lock the repository, this allows some operations on read-only repositories
Expand Down
4 changes: 4 additions & 0 deletions doc/man/restic-forget.1
Original file line number Diff line number Diff line change
Expand Up @@ -179,6 +179,10 @@ Exit status is 0 if the command was successful, and non-zero if there was any er
\fB--no-cache\fP[=false]
do not use a local cache

.PP
\fB--no-extra-verify\fP[=false]
skip additional verification of data before upload (see documentation)

.PP
\fB--no-lock\fP[=false]
do not lock the repository, this allows some operations on read-only repositories
Expand Down
4 changes: 4 additions & 0 deletions doc/man/restic-generate.1
Original file line number Diff line number Diff line change
Expand Up @@ -89,6 +89,10 @@ Exit status is 0 if the command was successful, and non-zero if there was any er
\fB--no-cache\fP[=false]
do not use a local cache

.PP
\fB--no-extra-verify\fP[=false]
skip additional verification of data before upload (see documentation)

.PP
\fB--no-lock\fP[=false]
do not lock the repository, this allows some operations on read-only repositories
Expand Down
4 changes: 4 additions & 0 deletions doc/man/restic-init.1
Original file line number Diff line number Diff line change
Expand Up @@ -96,6 +96,10 @@ Exit status is 0 if the command was successful, and non-zero if there was any er
\fB--no-cache\fP[=false]
do not use a local cache

.PP
\fB--no-extra-verify\fP[=false]
skip additional verification of data before upload (see documentation)

.PP
\fB--no-lock\fP[=false]
do not lock the repository, this allows some operations on read-only repositories
Expand Down
4 changes: 4 additions & 0 deletions doc/man/restic-key.1
Original file line number Diff line number Diff line change
Expand Up @@ -80,6 +80,10 @@ Exit status is 0 if the command was successful, and non-zero if there was any er
\fB--no-cache\fP[=false]
do not use a local cache

.PP
\fB--no-extra-verify\fP[=false]
skip additional verification of data before upload (see documentation)

.PP
\fB--no-lock\fP[=false]
do not lock the repository, this allows some operations on read-only repositories
Expand Down

0 comments on commit 811be59

Please sign in to comment.