Skip to content
Myr

Descriptions: tests for multiline support

Before adoption: this commit came in with the history the project adopted, so no landing records it.

authored by Alexej Yaroshevich · committed by Alexej Yaroshevich · parent d679feb · Browse files · 4 files+60 added−1 removed
This commit

State

Before adoption: this commit came in with the history the project adopted, so no landing records it.

Diff stats

4 files+60 added−1 removed

  • tests:+55 added−0 removed
  • other:+5 added−1 removed

4 files+60 added−1 removed

added:test/test.command.description.js+27 added
added:test/test.command.usage.description.js+28 added
modified:index.js+3 added
1045 unmodified lines
1046 for (var i = 0; i < options.length; i++) {1047 if (options[i] == '--help' || options[i] == '-h') {1048 cmd.outputHelp();1049 process.exit(0);10501051 // used for test flow only1052 options.splice(i, 1);1053 }1054 }1055}1056
15 unmodified lines
modified:package.json+2 added-1 removed