Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Wrap and indent help descriptions for options and commands #1051

Merged
merged 3 commits into from
Sep 22, 2019
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Fix a (false positive) eslint report from command line that was not s…
…howing in editor
  • Loading branch information
shadowspawn committed Sep 21, 2019
commit 97b5fee6f1418280a56c050f01f09a981a237bf6
3 changes: 1 addition & 2 deletions tests/helpwrap.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -97,8 +97,7 @@ test('when option descripton preformatted then only add small indent', () => {
const optionSpec = '-t, --time <HH:MM>';
const program = new commander.Command();
program
.option(optionSpec,
`select time
.option(optionSpec, `select time

Time can also be specified using special values:
"dawn" - From night to sunrise.
Expand Down