From 17600e52594f0e89814468c7a26e9bdd335934a0 Mon Sep 17 00:00:00 2001 From: Kyle Roth Date: Mon, 19 Apr 2021 03:25:45 -0600 Subject: [PATCH] docs(backup): add usage text to describe argument (#1193) --- internal/commands/backup.go | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/internal/commands/backup.go b/internal/commands/backup.go index 1b708bd9d..e46bd26d1 100644 --- a/internal/commands/backup.go +++ b/internal/commands/backup.go @@ -23,8 +23,11 @@ import ( // BackupCommand configures the backup cli command. var BackupCommand = cli.Command{ - Name: "backup", - Usage: "Creates album and index backups", + Name: "backup", + Usage: "Creates album and index backups", + UsageText: `The first argument (if provided) is the path where the backup will be created. +If not specified, a backup is created at PHOTOPRISM_BACKUP_PATH in a file named +with today's date.`, Flags: backupFlags, Action: backupAction, }