Change cli description for output

This commit is contained in:
Kim Biesbjerg 2016-12-10 03:36:28 +01:00
parent 6b2059b23e
commit 657eb6d953

View File

@ -13,7 +13,7 @@ import * as cli from 'cli';
const options = cli.parse({ const options = cli.parse({
dir: ['d', 'Directory path you would like to extract strings from', 'dir', process.env.PWD], dir: ['d', 'Directory path you would like to extract strings from', 'dir', process.env.PWD],
output: ['o', 'Directory path you would like to save extracted strings', 'dir', process.env.PWD], output: ['o', 'Directory path you would like to save extracted strings to', 'dir', process.env.PWD],
format: ['f', 'Output format', ['json', 'pot'], 'json'], format: ['f', 'Output format', ['json', 'pot'], 'json'],
replace: ['r', 'Replace the contents of output file if it exists (merging by default)', 'boolean', false], replace: ['r', 'Replace the contents of output file if it exists (merging by default)', 'boolean', false],
clean: ['c', 'Remove unused keys when merging', 'boolean', false] clean: ['c', 'Remove unused keys when merging', 'boolean', false]