Skip to content

Commit

Permalink
Fix help message
Browse files Browse the repository at this point in the history
  • Loading branch information
sheepla committed Aug 5, 2023
1 parent 399e695 commit 22ca1ac
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions main.go
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ func initApp() *cli.App {
Name: "source",
Aliases: []string{"s", "from"},
Required: true,
Usage: "Source language to translate",
Usage: "Source language to translate; specifying the value '?' will shows a selectable menu",
EnvVars: []string{"STRANS_SOURCE_LANG"},
Action: func(ctx *cli.Context, s string) error {
if strings.TrimSpace(s) == "" {
Expand All @@ -74,7 +74,7 @@ func initApp() *cli.App {
Name: "target",
Aliases: []string{"t", "to"},
Required: true,
Usage: "Target language to translate",
Usage: "Target language to translate; specifying the value '?' will shows a selectable menu",
EnvVars: []string{"STRANS_TARGET_LANG"},
Action: func(ctx *cli.Context, s string) error {
if strings.TrimSpace(s) == "" {
Expand Down Expand Up @@ -119,13 +119,13 @@ func initApp() *cli.App {
&cli.BoolFlag{
Name: "list-source",
Aliases: []string{"S"},
Usage: "Show list of source languages",
Usage: "Show a list of source languages",
Required: false,
},
&cli.BoolFlag{
Name: "list-target",
Aliases: []string{"T"},
Usage: "Show list of target languages",
Usage: "Show a list of target languages",
Required: false,
},
&cli.BoolFlag{
Expand Down

0 comments on commit 22ca1ac

Please sign in to comment.