From b2043e8198e09f51599bed8f4a69c333d2aa5a57 Mon Sep 17 00:00:00 2001 From: Michael Eischer Date: Sun, 17 Jul 2022 00:03:17 +0200 Subject: [PATCH] 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. --- cmd/restic/cmd_backup.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cmd/restic/cmd_backup.go b/cmd/restic/cmd_backup.go index 2f50085fc..ff8a41c6c 100644 --- a/cmd/restic/cmd_backup.go +++ b/cmd/restic/cmd_backup.go @@ -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