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{
Use: "backup [flags] FILE/DIR [FILE/DIR] ...",
Use: "backup [flags] [FILE/DIR] ...",
Short: "Create a new backup of files and/or directories",
Long: `
The "backup" command creates a new snapshot and saves the files and directories