Skip to content

Commit

Permalink
fix boolean flags for command line
Browse files Browse the repository at this point in the history
  • Loading branch information
igorklopov committed Oct 7, 2016
1 parent 5331250 commit 2466336
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion lib/bin.js
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,8 @@ import { need } from './index.js';

async function main () {
const argv = minimist(process.argv.slice(2), {
string: [ 'n', 'p', 'a', 'f', 'b' ]
boolean: [ 'f', 'b' ],
string: [ 'n', 'p', 'a' ]
});
const nodeRange = argv.n || argv._.shift();
const platform = argv.p || argv._.shift();
Expand Down

0 comments on commit 2466336

Please sign in to comment.