CLI: Improve "photoprism optimize" command help #1668

This commit is contained in:
Michael Mayer
2021-11-20 19:25:57 +01:00
parent 403eb0d71d
commit 0097da0b21

View File

@@ -15,17 +15,17 @@ import (
// OptimizeCommand registers the index cli command.
var OptimizeCommand = cli.Command{
Name: "optimize",
Usage: "Updates estimates, titles, and other metadata",
Usage: "Maintains titles, estimates, and other metadata",
Flags: []cli.Flag{
cli.BoolFlag{
Name: "force, f",
Usage: "update all, including recently estimated",
Usage: "update all, including recently optimized",
},
},
Action: optimizeAction,
}
// optimizeAction updates estimates, titles, and other metadata.
// optimizeAction updates titles, estimates, and other metadata.
func optimizeAction(ctx *cli.Context) error {
start := time.Now()