Skip to content

Commit

Permalink
fix stream or s argument parsing
Browse files Browse the repository at this point in the history
  • Loading branch information
mkieselmannPDG committed Jan 24, 2020
1 parent 89983e7 commit 330f8cd
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion geojson-merge
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,10 @@ var geojsonMerge = require('./'),
stream = geojsonMerge.mergeFeatureCollectionStream,
merge = geojsonMerge.merge,
fs = require('fs'),
argv = require('minimist')(process.argv.slice(2));
argv = require('minimist')(process.argv.slice(2), {
boolean: ['stream'],
alias: { s: 'stream' }
});

if (!argv._.length || argv.help) {
console.log('usage: geojson-merge [-s] FILE FILE2 FILE3');
Expand Down

0 comments on commit 330f8cd

Please sign in to comment.