mirror of
https://github.com/photoprism/photoprism.git
synced 2025-12-12 00:34:13 +01:00
docs(backup): add usage text to describe argument (#1193)
This commit is contained in:
@@ -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,
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user