Skip to content

Commit

Permalink
docs: better cmd
Browse files Browse the repository at this point in the history
  • Loading branch information
akkumar committed Mar 20, 2020
1 parent e23ac2b commit cf651d9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/unit/cli.spec.js
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ describe('cli', () => {

describe('processArgs', () => {
it('should override if multiple options given', () => {
// parses --port 123 --port 456 as port = [123, 456] which makes no sense
// yargs parses --port 123 --port 456 as port = [123, 456] which makes no sense
const options = processArgs(['some.conf', '--port', '12', '--log-level', 'info', '--port', '34', '--log-level', 'debug'])

expect(options.port).to.equal(34)
Expand Down

0 comments on commit cf651d9

Please sign in to comment.