Update manpages and auto-completion

This commit is contained in:
Alexander Neumann
2025-03-27 20:16:56 +01:00
parent 0e5f41c842
commit ab024e6a51
39 changed files with 117 additions and 276 deletions

View File

@@ -2,17 +2,14 @@
.TH "restic backup" "1" "Jan 2017" "generated by \fBrestic generate\fR" ""
.SH NAME
.PP
restic-forget - Remove snapshots from the repository
.SH SYNOPSIS
.PP
\fBrestic forget [flags] [snapshot ID] [...]\fP
.SH DESCRIPTION
.PP
The "forget" command removes snapshots according to a policy. All snapshots are
first divided into groups according to "--group-by", and after that the policy
specified by the "--keep-\fI" options is applied to each group individually.
@@ -31,7 +28,6 @@ security considerations.
.SH EXIT STATUS
.PP
Exit status is 0 if the command was successful.
Exit status is 1 if there was any error.
Exit status is 10 if the repository does not exist.
@@ -40,7 +36,6 @@ Exit status is 12 if the password is incorrect.
.SH OPTIONS
.PP
\fB-l\fP, \fB--keep-last\fP=0
keep the last \fBn\fR snapshots (use 'unlimited' to keep all snapshots)
@@ -130,7 +125,7 @@ Exit status is 12 if the password is incorrect.
.PP
\fB--max-repack-size\fP=""
maximum \fBsize\fR to repack (allowed suffixes: k/K, m/M, g/G, t/T)
stop after repacking this much data in total (allowed suffixes for \fBsize\fR: k/K, m/M, g/G, t/T)
.PP
\fB--repack-cacheable-only\fP[=false]
@@ -144,13 +139,16 @@ Exit status is 12 if the password is incorrect.
\fB--repack-uncompressed\fP[=false]
repack all uncompressed data
.PP
\fB--repack-smaller-than\fP=""
pack \fBbelow-limit\fR packfiles (allowed suffixes: k/K, m/M)
.PP
\fB-h\fP, \fB--help\fP[=false]
help for forget
.SH OPTIONS INHERITED FROM PARENT COMMANDS
.PP
\fB--cacert\fP=[]
\fBfile\fR to load root certificates from (default: use system certificates or $RESTIC_CACERT)
@@ -252,5 +250,4 @@ Exit status is 12 if the password is incorrect.
.SH SEE ALSO
.PP
\fBrestic(1)\fP