CLI: Remove "(optional)" from command argument help #1735

Should be clear enough like that.
This commit is contained in:
Michael Mayer
2021-12-02 13:57:32 +01:00
parent 333825f973
commit d0a291a679
3 changed files with 4 additions and 4 deletions

View File

@@ -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,
} }

View File

@@ -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,
}, },
{ {

View File

@@ -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,
} }