mirror of
https://github.com/photoprism/photoprism.git
synced 2025-12-12 00:34:13 +01:00
CLI: Update count flag usage in commands.go, find.go, and vision_run.go
Signed-off-by: Michael Mayer <michael@photoprism.app>
This commit is contained in:
@@ -78,7 +78,7 @@ var PhotoPrism = []*cli.Command{
|
||||
var CountFlag = &cli.UintFlag{
|
||||
Name: "count",
|
||||
Aliases: []string{"n"},
|
||||
Usage: "`LIMIT` number of results",
|
||||
Usage: "maximum `NUMBER` of results",
|
||||
Value: 100,
|
||||
}
|
||||
|
||||
|
||||
@@ -22,7 +22,7 @@ var FindCommand = &cli.Command{
|
||||
Flags: append(report.CliFlags, &cli.UintFlag{
|
||||
Name: "count",
|
||||
Aliases: []string{"n"},
|
||||
Usage: "maximum number of search `RESULTS`",
|
||||
Usage: "maximum `NUMBER` of results",
|
||||
Value: 10000,
|
||||
}),
|
||||
Action: findAction,
|
||||
|
||||
@@ -26,8 +26,8 @@ var VisionRunCommand = &cli.Command{
|
||||
},
|
||||
&cli.IntFlag{
|
||||
Name: "count",
|
||||
Aliases: []string{"c"},
|
||||
Usage: "maximum number of pictures to be processed",
|
||||
Aliases: []string{"n"},
|
||||
Usage: "maximum `NUMBER` of pictures to be processed",
|
||||
Value: search.MaxResults,
|
||||
},
|
||||
&cli.StringFlag{
|
||||
|
||||
Reference in New Issue
Block a user