CLI: Shorten "find" command usage description #3222

Signed-off-by: Michael Mayer <michael@photoprism.app>
This commit is contained in:
Michael Mayer 2023-06-12 19:43:07 +02:00
parent 39e26b7f0e
commit 092fe04b2d

View file

@ -17,7 +17,7 @@ import (
// FindCommand configures the command name, flags, and action.
var FindCommand = cli.Command{
Name: "find",
Usage: "Finds indexed files that match the specified search filter",
Usage: "Searches the index for specific files",
ArgsUsage: "filter",
Flags: append(report.CliFlags, cli.UintFlag{
Name: "n",
@ -27,7 +27,7 @@ var FindCommand = cli.Command{
Action: findAction,
}
// findAction finds indexed files that match the specified search filter.
// findAction searches the index for specific files.
func findAction(ctx *cli.Context) error {
conf, err := InitConfig(ctx)