forked from TrueCloudLab/restic
Merge pull request #1971 from bobsaintcool/doc/fix_man_output
Doc/fix man output
This commit is contained in:
commit
501189625e
3 changed files with 13 additions and 17 deletions
|
@ -21,11 +21,11 @@ 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
|
first characters in each line display what has happened to a particular file or
|
||||||
directory:
|
directory:
|
||||||
|
|
||||||
+ The item was added
|
* + The item was added
|
||||||
- The item was removed
|
* - The item was removed
|
||||||
U The metadata (access mode, timestamps, ...) for the item was updated
|
* U The metadata (access mode, timestamps, ...) for the item was updated
|
||||||
M The file's content was modified
|
* M The file's content was modified
|
||||||
T The type was changed, e.g. a file was made a symlink
|
* T The type was changed, e.g. a file was made a symlink
|
||||||
`,
|
`,
|
||||||
DisableAutoGenTag: true,
|
DisableAutoGenTag: true,
|
||||||
RunE: func(cmd *cobra.Command, args []string) error {
|
RunE: func(cmd *cobra.Command, args []string) error {
|
||||||
|
|
|
@ -30,17 +30,13 @@ to calculate.
|
||||||
|
|
||||||
The modes are:
|
The modes are:
|
||||||
|
|
||||||
restore-size: (default) Counts the size of the restored files.
|
* restore-size: (default) Counts the size of the restored files.
|
||||||
|
* files-by-contents: Counts total size of files, where a file is
|
||||||
files-by-contents: Counts total size of files, where a file is
|
|
||||||
considered unique if it has unique contents.
|
considered unique if it has unique contents.
|
||||||
|
* raw-data: Counts the size of blobs in the repository, regardless of
|
||||||
raw-data: Counts the size of blobs in the repository, regardless
|
how many files reference them.
|
||||||
of how many files reference them.
|
* blobs-per-file: A combination of files-by-contents and raw-data.
|
||||||
|
* Refer to the online manual for more details about each mode.
|
||||||
blobs-per-file: A combination of files-by-contents and raw-data.
|
|
||||||
|
|
||||||
Refer to the online manual for more details about each mode.
|
|
||||||
`,
|
`,
|
||||||
DisableAutoGenTag: true,
|
DisableAutoGenTag: true,
|
||||||
RunE: func(cmd *cobra.Command, args []string) error {
|
RunE: func(cmd *cobra.Command, args []string) error {
|
||||||
|
|
|
@ -169,7 +169,7 @@ Browse repository objects
|
||||||
|
|
||||||
Internally, a repository stores data of several different types
|
Internally, a repository stores data of several different types
|
||||||
described in the `design
|
described in the `design
|
||||||
documentation <https://github.com/restic/restic/blob/master/doc/Design.rst>`__.
|
documentation <https://github.com/restic/restic/blob/master/doc/design.rst>`__.
|
||||||
You can ``list`` objects such as blobs, packs, index, snapshots, keys or
|
You can ``list`` objects such as blobs, packs, index, snapshots, keys or
|
||||||
locks with the following command:
|
locks with the following command:
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue