2
2
mirror of https://github.com/octoleo/restic.git synced 2024-11-01 03:12:31 +00:00

backup: clarify usage string

Using the `--files-from` options it is possible to run `backup` without
specifying any source paths directly on the command line.
This commit is contained in:
Michael Eischer 2022-07-17 00:03:17 +02:00
parent 6cbeb4a9f9
commit b2043e8198

View File

@ -31,7 +31,7 @@ import (
) )
var cmdBackup = &cobra.Command{ var cmdBackup = &cobra.Command{
Use: "backup [flags] FILE/DIR [FILE/DIR] ...", Use: "backup [flags] [FILE/DIR] ...",
Short: "Create a new backup of files and/or directories", Short: "Create a new backup of files and/or directories",
Long: ` Long: `
The "backup" command creates a new snapshot and saves the files and directories The "backup" command creates a new snapshot and saves the files and directories