Skip to content

Commit 22ca1ac

Browse files
committed
Fix help message
1 parent 399e695 commit 22ca1ac

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

main.go

+4-4
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ func initApp() *cli.App {
5757
Name: "source",
5858
Aliases: []string{"s", "from"},
5959
Required: true,
60-
Usage: "Source language to translate",
60+
Usage: "Source language to translate; specifying the value '?' will shows a selectable menu",
6161
EnvVars: []string{"STRANS_SOURCE_LANG"},
6262
Action: func(ctx *cli.Context, s string) error {
6363
if strings.TrimSpace(s) == "" {
@@ -74,7 +74,7 @@ func initApp() *cli.App {
7474
Name: "target",
7575
Aliases: []string{"t", "to"},
7676
Required: true,
77-
Usage: "Target language to translate",
77+
Usage: "Target language to translate; specifying the value '?' will shows a selectable menu",
7878
EnvVars: []string{"STRANS_TARGET_LANG"},
7979
Action: func(ctx *cli.Context, s string) error {
8080
if strings.TrimSpace(s) == "" {
@@ -119,13 +119,13 @@ func initApp() *cli.App {
119119
&cli.BoolFlag{
120120
Name: "list-source",
121121
Aliases: []string{"S"},
122-
Usage: "Show list of source languages",
122+
Usage: "Show a list of source languages",
123123
Required: false,
124124
},
125125
&cli.BoolFlag{
126126
Name: "list-target",
127127
Aliases: []string{"T"},
128-
Usage: "Show list of target languages",
128+
Usage: "Show a list of target languages",
129129
Required: false,
130130
},
131131
&cli.BoolFlag{

0 commit comments

Comments
 (0)