1
0
Fork 0
mirror of https://github.com/restic/restic.git synced 2024-12-26 09:47:49 +00:00

Merge pull request #2247 from tbm/docs

Minor docs fixes
This commit is contained in:
Alexander Neumann 2019-04-23 09:17:22 +02:00
commit b40dea29ad
5 changed files with 7 additions and 5 deletions

View file

@ -1117,7 +1117,7 @@ Details
Exploiting the vulnerability requires a Linux/Unix system which saves backups via restic and Exploiting the vulnerability requires a Linux/Unix system which saves backups via restic and
a Windows systems which restores files from the repo. In addition, the attackers need to be able a Windows systems which restores files from the repo. In addition, the attackers need to be able
to create create files with arbitrary names which are then saved to the restic repo. For to create create files with arbitrary names which are then saved to the restic repo. For
example, by creating a file named "..\test.txt" (which is a perfectly legal filename on Linux) example, by creating a file named `..\test.txt` (which is a perfectly legal filename on Linux)
and restoring a snapshot containing this file on Windows, it would be written to the parent of and restoring a snapshot containing this file on Windows, it would be written to the parent of
the target directory. the target directory.

View file

@ -12,7 +12,7 @@ var cmdGenerate = &cobra.Command{
Use: "generate [command]", Use: "generate [command]",
Short: "Generate manual pages and auto-completion files (bash, zsh)", Short: "Generate manual pages and auto-completion files (bash, zsh)",
Long: ` Long: `
The "generate" command writes automatically generated files like the man pages The "generate" command writes automatically generated files (like the man pages
and the auto-completion files for bash and zsh). and the auto-completion files for bash and zsh).
`, `,
DisableAutoGenTag: true, DisableAutoGenTag: true,

View file

@ -36,7 +36,8 @@ The modes are:
* raw-data: Counts the size of blobs in the repository, regardless of * raw-data: Counts the size of blobs in the repository, regardless of
how many files reference them. how many files reference them.
* blobs-per-file: A combination of files-by-contents and raw-data. * blobs-per-file: A combination of files-by-contents and raw-data.
* Refer to the online manual for more details about each mode.
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 {

View file

@ -15,7 +15,7 @@ restic\-generate \- Generate manual pages and auto\-completion files (bash, zsh)
.SH DESCRIPTION .SH DESCRIPTION
.PP .PP
The "generate" command writes automatically generated files like the man pages The "generate" command writes automatically generated files (like the man pages
and the auto\-completion files for bash and zsh). and the auto\-completion files for bash and zsh).

View file

@ -40,7 +40,8 @@ raw\-data: Counts the size of blobs in the repository, regardless of
how many files reference them. how many files reference them.
.IP \(bu 2 .IP \(bu 2
blobs\-per\-file: A combination of files\-by\-contents and raw\-data. blobs\-per\-file: A combination of files\-by\-contents and raw\-data.
.IP \(bu 2
.PP
Refer to the online manual for more details about each mode. Refer to the online manual for more details about each mode.
.RE .RE