Skip to content

Commit

Permalink
fix(lib/index.js): made -h/--header a boolean arg
Browse files Browse the repository at this point in the history
fix #209
  • Loading branch information
Matt Brading committed Apr 23, 2020
1 parent 6bfcb83 commit 5ba2719
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions lib/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -97,6 +97,7 @@ async function main(args) {
.describe('p', 'name of a custom property which should be also in the description of an element (may be used multiple times)')
.default('p', [])
.alias('h', 'header')
.boolean('h')
.describe('h', 'if the value is false the header will be skipped')
.default('h', true);

Expand Down

0 comments on commit 5ba2719

Please sign in to comment.