Skip to content

Commit 4e9a4b1

Browse files
committed
Continue to fix some translation problem
1 parent 932e90e commit 4e9a4b1

File tree

3 files changed

+3
-6
lines changed

3 files changed

+3
-6
lines changed

lib/commands/list.js

+1-2
Original file line numberDiff line numberDiff line change
@@ -31,10 +31,9 @@ const cmd = {
3131
.option('T', {
3232
alias: 'dontTranslate',
3333
type: 'boolean',
34-
default: true,
34+
default: false,
3535
describe: 'Set to true to disable endpoint\'s translation',
3636
})
37-
.coerce('dontTranslate', dt => !dt)
3837
.positional('keyword', {
3938
type: 'string',
4039
default: '',

lib/commands/show.js

+1-2
Original file line numberDiff line numberDiff line change
@@ -60,10 +60,9 @@ const cmd = {
6060
.option('T', {
6161
alias: 'dontTranslate',
6262
type: 'boolean',
63-
default: true,
63+
default: false,
6464
describe: 'Set to true to disable endpoint\'s translation',
6565
})
66-
.coerce('dontTranslate', dt => !dt)
6766
.positional('keyword', {
6867
type: 'string',
6968
default: '',

lib/commands/submission.js

+1-2
Original file line numberDiff line numberDiff line change
@@ -45,10 +45,9 @@ const cmd = {
4545
.option('T', {
4646
alias: 'dontTranslate',
4747
type: 'boolean',
48-
default: true,
48+
default: false,
4949
describe: 'Set to true to disable endpoint\'s translation',
5050
})
51-
.coerce('dontTranslate', dt => !dt)
5251
.positional('keyword', {
5352
type: 'string',
5453
default: '',

0 commit comments

Comments
 (0)