mirror of
https://github.com/photoprism/photoprism.git
synced 2025-12-12 00:34:13 +01:00
CLI: Remove "(optional)" from command argument help #1735
Should be clear enough like that.
This commit is contained in:
@@ -16,8 +16,8 @@ import (
|
|||||||
// ConvertCommand registers the convert cli command.
|
// ConvertCommand registers the convert cli command.
|
||||||
var ConvertCommand = cli.Command{
|
var ConvertCommand = cli.Command{
|
||||||
Name: "convert",
|
Name: "convert",
|
||||||
Usage: "Transcodes other formats to JPEG and AVC",
|
Usage: "Converts files in other formats to JPEG and AVC",
|
||||||
ArgsUsage: "[originals subfolder (optional)]",
|
ArgsUsage: "[originals subfolder]",
|
||||||
Action: convertAction,
|
Action: convertAction,
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -53,7 +53,7 @@ var FacesCommand = cli.Command{
|
|||||||
{
|
{
|
||||||
Name: "index",
|
Name: "index",
|
||||||
Usage: "Searches originals for faces",
|
Usage: "Searches originals for faces",
|
||||||
ArgsUsage: "[originals subfolder (optional)]",
|
ArgsUsage: "[originals subfolder]",
|
||||||
Action: facesIndexAction,
|
Action: facesIndexAction,
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
|
|||||||
@@ -21,7 +21,7 @@ import (
|
|||||||
var IndexCommand = cli.Command{
|
var IndexCommand = cli.Command{
|
||||||
Name: "index",
|
Name: "index",
|
||||||
Usage: "Indexes original media files",
|
Usage: "Indexes original media files",
|
||||||
ArgsUsage: "[originals subfolder (optional)]",
|
ArgsUsage: "[originals subfolder]",
|
||||||
Flags: indexFlags,
|
Flags: indexFlags,
|
||||||
Action: indexAction,
|
Action: indexAction,
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user