CLI: Shorten "find" command usage description #3222
Signed-off-by: Michael Mayer <michael@photoprism.app>
This commit is contained in:
parent
39e26b7f0e
commit
092fe04b2d
|
@ -17,7 +17,7 @@ import (
|
||||||
// FindCommand configures the command name, flags, and action.
|
// FindCommand configures the command name, flags, and action.
|
||||||
var FindCommand = cli.Command{
|
var FindCommand = cli.Command{
|
||||||
Name: "find",
|
Name: "find",
|
||||||
Usage: "Finds indexed files that match the specified search filter",
|
Usage: "Searches the index for specific files",
|
||||||
ArgsUsage: "filter",
|
ArgsUsage: "filter",
|
||||||
Flags: append(report.CliFlags, cli.UintFlag{
|
Flags: append(report.CliFlags, cli.UintFlag{
|
||||||
Name: "n",
|
Name: "n",
|
||||||
|
@ -27,7 +27,7 @@ var FindCommand = cli.Command{
|
||||||
Action: findAction,
|
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 {
|
func findAction(ctx *cli.Context) error {
|
||||||
conf, err := InitConfig(ctx)
|
conf, err := InitConfig(ctx)
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue