docs: some tweaks to cli help

isekai-main
Julian Lam 3 years ago
parent c3d926ff7e
commit c869d7dbb3

@ -270,8 +270,9 @@ program
console.log(`\n${[ console.log(`\n${[
'When running particular upgrade scripts, options are ignored.', 'When running particular upgrade scripts, options are ignored.',
'By default all options are enabled. Passing any options disables that default.', 'By default all options are enabled. Passing any options disables that default.',
`Only package and dependency updates: ${chalk.yellow('./nodebb upgrade -mi')}`, '\nExamples:',
`Only database update: ${chalk.yellow('./nodebb upgrade -s')}`, ` Only package and dependency updates: ${chalk.yellow('./nodebb upgrade -mi')}`,
` Only database update: ${chalk.yellow('./nodebb upgrade -s')}`,
].join('\n')}`); ].join('\n')}`);
}) })
.action((scripts, options) => { .action((scripts, options) => {

Loading…
Cancel
Save