Skip to content

Commit

Permalink
Add allowUnknownOption to commander
Browse files Browse the repository at this point in the history
  • Loading branch information
corycaywood committed Mar 24, 2017
1 parent 544fc4c commit 3ef9f83
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion bin/docpub.js
Expand Up @@ -16,7 +16,8 @@ program
.version(pkg.version)
.option('-p, --path <path>', 'path to documents directory (defaults to process directory)')
.option('--config-path <configPath>', 'path for the config')
.option('-v, --verbose', 'verbose output');
.option('-v, --verbose', 'verbose output')
.allowUnknownOption();

program.on('--help', () => {
console.log(' Overriding config');
Expand Down

0 comments on commit 3ef9f83

Please sign in to comment.