doc: fine tune description of diff command
This commit is contained in:
parent
33de00bba0
commit
10765151d3
1 changed files with 3 additions and 3 deletions
|
@ -506,9 +506,9 @@ and displays a small statistic, just pass the command two snapshot IDs:
|
||||||
$ restic -r /srv/restic-repo diff 5845b002 2ab627a6
|
$ restic -r /srv/restic-repo diff 5845b002 2ab627a6
|
||||||
comparing snapshot ea657ce5 to 2ab627a6:
|
comparing snapshot ea657ce5 to 2ab627a6:
|
||||||
|
|
||||||
M /restic/cmd_diff.go
|
M /restic/cmd_diff.go
|
||||||
+ /restic/foo
|
+ /restic/foo
|
||||||
M /restic/restic
|
M /restic/restic
|
||||||
|
|
||||||
Files: 0 new, 0 removed, 2 changed
|
Files: 0 new, 0 removed, 2 changed
|
||||||
Dirs: 1 new, 0 removed
|
Dirs: 1 new, 0 removed
|
||||||
|
@ -528,7 +528,7 @@ folder, you could use the following command:
|
||||||
$ restic -r /srv/restic-repo diff 5845b002:/restic 2ab627a6:/restic
|
$ restic -r /srv/restic-repo diff 5845b002:/restic 2ab627a6:/restic
|
||||||
|
|
||||||
By default, the ``diff`` command only lists differences in file contents.
|
By default, the ``diff`` command only lists differences in file contents.
|
||||||
The flag `--metadata` shows changes to file metadata, too.
|
The flag ``--metadata`` shows changes to file metadata, too.
|
||||||
|
|
||||||
The characters left of the file path show what has changed for this file:
|
The characters left of the file path show what has changed for this file:
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue