aboutsummaryrefslogtreecommitdiff
path: root/bin/vicmap2osm.js
diff options
context:
space:
mode:
authorAndrew Harvey <andrew@alantgeo.com.au>2021-08-17 15:28:22 +1000
committerAndrew Harvey <andrew@alantgeo.com.au>2021-08-17 15:28:22 +1000
commit6a71c1588c00cf535c1567501d065ccb6ab66f56 (patch)
treebc1a67a87899fdeaacc7a0019db6be60031165d1 /bin/vicmap2osm.js
parent8334805308ce4ecb95c045f10758a56cd5bbed63 (diff)
vicmap2osm yargs
Diffstat (limited to 'bin/vicmap2osm.js')
-rwxr-xr-xbin/vicmap2osm.js1
1 files changed, 1 insertions, 0 deletions
diff --git a/bin/vicmap2osm.js b/bin/vicmap2osm.js
index 17fef2a..f637fd4 100755
--- a/bin/vicmap2osm.js
+++ b/bin/vicmap2osm.js
@@ -25,6 +25,7 @@ const argv = require('yargs/yargs')(process.argv.slice(2))
default: false,
description: 'If set, preserves addr:suburb, addr:postcode, addr:state, otherwise omits them'
})
+ .demandCommand(2)
.argv
if (argv._.length < 2) {