Skip to content

Commit cdc0a61

Browse files
committed
move yargs descr up in the order
1 parent e8d4cff commit cdc0a61

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

src/yargs.ts

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -118,6 +118,12 @@ export async function setup(): Promise<Argv> {
118118
type: 'boolean',
119119
default: defaults.highlightCode,
120120
})
121+
.option('colorScheme', {
122+
alias: 'cs',
123+
describe: 'Color scheme of HTML output',
124+
choices: choices.colorScheme,
125+
default: defaults.colorScheme,
126+
})
121127
.option('summary', {
122128
alias: 'su',
123129
describe: 'Show files summary',
@@ -234,12 +240,6 @@ export async function setup(): Promise<Argv> {
234240
type: 'array',
235241
default: defaults.ignore,
236242
})
237-
.option('colorScheme', {
238-
alias: 'cs',
239-
describe: 'Color scheme of HTML output',
240-
choices: choices.colorScheme,
241-
default: defaults.colorScheme,
242-
})
243243
.example(
244244
'diff2html -s line -f html -d word -i command -o preview -- -M HEAD~1',
245245
'diff last commit, line by line, word comparison between lines,' +

0 commit comments

Comments
 (0)