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-stats - Scan the repository and show basic statistics
.SH SYNOPSIS
.PP
\fBrestic stats [flags] [snapshot ID] [...]\fP
.SH DESCRIPTION
.PP
The "stats" command walks one or multiple snapshots in a repository
and accumulates statistics about the data stored therein. It reports
on the number of unique files and their sizes, according to one of
@@ -27,8 +24,6 @@ depending on what you are trying to calculate.
.PP
The modes are:
.RS
.IP \(bu 2
restore-size: (default) Counts the size of the restored files.
.IP \(bu 2
@@ -40,14 +35,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.
.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.
@@ -56,7 +48,6 @@ Exit status is 12 if the password is incorrect.
.SH OPTIONS
.PP
\fB-h\fP, \fB--help\fP[=false]
help for stats
@@ -78,7 +69,6 @@ Exit status is 12 if the password is incorrect.
.SH OPTIONS INHERITED FROM PARENT COMMANDS
.PP
\fB--cacert\fP=[]
\fBfile\fR to load root certificates from (default: use system certificates or $RESTIC_CACERT)
@@ -180,5 +170,4 @@ Exit status is 12 if the password is incorrect.
.SH SEE ALSO
.PP
\fBrestic(1)\fP