Backups: Improve usage descriptions of config options #4243

Signed-off-by: Michael Mayer <michael@photoprism.app>
This commit is contained in:
Michael Mayer
2024-05-13 09:41:19 +02:00
parent 0396e86f4e
commit b3782fc427
3 changed files with 4 additions and 4 deletions

View File

@@ -37,7 +37,7 @@ var backupFlags = []cli.Flag{
},
cli.BoolFlag{
Name: "albums, a",
Usage: "write album metadata to YAML files",
Usage: "export album metadata to YAML files located in the backup path",
},
cli.StringFlag{
Name: "albums-path",

View File

@@ -34,7 +34,7 @@ var restoreFlags = []cli.Flag{
},
cli.BoolFlag{
Name: "albums, a",
Usage: "restore album metadata from YAML backup files",
Usage: "restore albums from YAML files located in the backup path",
},
cli.StringFlag{
Name: "albums-path",

View File

@@ -158,7 +158,7 @@ var Flags = CliFlags{
}}, {
Flag: cli.BoolFlag{
Name: "sidecar-yaml",
Usage: "write picture metadata to YAML sidecar files",
Usage: "export picture metadata to YAML sidecar files",
EnvVar: EnvVar("SIDECAR_YAML"),
}}, {
Flag: cli.StringFlag{
@@ -210,7 +210,7 @@ var Flags = CliFlags{
}}, {
Flag: cli.BoolFlag{
Name: "backup-albums",
Usage: "write album metadata to YAML files in the backup path",
Usage: "export album metadata to YAML backup files",
EnvVar: EnvVar("BACKUP_ALBUMS"),
}}, {
Flag: cli.IntFlag{