Add default val in description
This commit is contained in:
parent
a74ca20375
commit
df05ce3f2a
2 changed files with 4 additions and 4 deletions
|
@ -13,9 +13,9 @@ Getting started
|
||||||
-h, --help output usage information
|
-h, --help output usage information
|
||||||
--mbtiles <file> MBTiles file (uses demo configuration);
|
--mbtiles <file> MBTiles file (uses demo configuration);
|
||||||
ignored if the configuration file is also specified
|
ignored if the configuration file is also specified
|
||||||
-c, --config <file> Configuration file
|
-c, --config <file> Configuration file [config.json]
|
||||||
-b, --bind <address> Bind address
|
-b, --bind <address> Bind address
|
||||||
-p, --port <port> Port
|
-p, --port <port> Port [8080]
|
||||||
-C|--no-cors Disable Cross-origin resource sharing headers
|
-C|--no-cors Disable Cross-origin resource sharing headers
|
||||||
-V, --verbose More verbose output
|
-V, --verbose More verbose output
|
||||||
-v, --version Version info
|
-v, --version Version info
|
||||||
|
|
|
@ -20,7 +20,7 @@ var opts = require('commander')
|
||||||
)
|
)
|
||||||
.option(
|
.option(
|
||||||
'-c, --config <file>',
|
'-c, --config <file>',
|
||||||
'Configuration file',
|
'Configuration file [config.json]',
|
||||||
'config.json'
|
'config.json'
|
||||||
)
|
)
|
||||||
.option(
|
.option(
|
||||||
|
@ -29,7 +29,7 @@ var opts = require('commander')
|
||||||
)
|
)
|
||||||
.option(
|
.option(
|
||||||
'-p, --port <port>',
|
'-p, --port <port>',
|
||||||
'Port',
|
'Port [8080]',
|
||||||
parseInt,
|
parseInt,
|
||||||
8080
|
8080
|
||||||
)
|
)
|
||||||
|
|
Loading…
Reference in a new issue