docs: some tweaks to cli help

This commit is contained in:
Julian Lam
2022-02-01 21:51:16 -05:00
parent c3d926ff7e
commit c869d7dbb3

View File

@@ -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) => {