Skip to content

Commit 6ce8edc

Browse files
author
Konstantinos Bairaktaris
committed
Fix 'pull -s -a/-l ' warning
1 parent a4b6022 commit 6ce8edc

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

cmd/tx/main.go

+4-4
Original file line numberDiff line numberDiff line change
@@ -471,12 +471,12 @@ func Main() {
471471
), 1)
472472
}
473473

474-
if !arguments.Translations &&
474+
if arguments.Source && !arguments.Translations &&
475475
(arguments.All || len(arguments.Languages) > 0) {
476476
return cli.Exit(errorColor(
477-
"It doesn't make sense to use the '--all' or "+
478-
"'--language' flag without the "+
479-
"'--translation' flag",
477+
"It doesn't make sense to use the '--all' or '--language' flag with the "+
478+
"CLI in \"source pull\" mode ('--source' flag without "+
479+
"'--translations' flag)",
480480
), 1)
481481
}
482482

0 commit comments

Comments
 (0)