mirror of
https://github.com/restic/restic.git
synced 2025-12-12 06:01:50 +00:00
Update manpages and auto-completion
This commit is contained in:
@@ -2,22 +2,17 @@
|
||||
.TH "restic backup" "1" "Jan 2017" "generated by \fBrestic generate\fR" ""
|
||||
|
||||
.SH NAME
|
||||
.PP
|
||||
restic-diff - Show differences between two snapshots
|
||||
|
||||
|
||||
.SH SYNOPSIS
|
||||
.PP
|
||||
\fBrestic diff [flags] snapshotID snapshotID\fP
|
||||
|
||||
|
||||
.SH DESCRIPTION
|
||||
.PP
|
||||
The "diff" command shows differences from the first to the second snapshot. The
|
||||
first characters in each line display what has happened to a particular file or
|
||||
directory:
|
||||
|
||||
.RS
|
||||
.IP \(bu 2
|
||||
+ The item was added
|
||||
.IP \(bu 2
|
||||
@@ -31,8 +26,6 @@ T The type was changed, e.g. a file was made a symlink
|
||||
.IP \(bu 2
|
||||
? Bitrot detected: The file's content has changed but all metadata is the same
|
||||
|
||||
.RE
|
||||
|
||||
.PP
|
||||
Metadata comparison will likely not work if a backup was created using the
|
||||
\&'--ignore-inode' or '--ignore-ctime' option.
|
||||
@@ -44,7 +37,6 @@ snapshot.
|
||||
|
||||
|
||||
.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.
|
||||
@@ -53,7 +45,6 @@ Exit status is 12 if the password is incorrect.
|
||||
|
||||
|
||||
.SH OPTIONS
|
||||
.PP
|
||||
\fB-h\fP, \fB--help\fP[=false]
|
||||
help for diff
|
||||
|
||||
@@ -63,7 +54,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)
|
||||
|
||||
@@ -165,5 +155,4 @@ Exit status is 12 if the password is incorrect.
|
||||
|
||||
|
||||
.SH SEE ALSO
|
||||
.PP
|
||||
\fBrestic(1)\fP
|
||||
|
||||
Reference in New Issue
Block a user