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
|
||||
--mbtiles <file> MBTiles file (uses demo configuration);
|
||||
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
|
||||
-p, --port <port> Port
|
||||
-p, --port <port> Port [8080]
|
||||
-C|--no-cors Disable Cross-origin resource sharing headers
|
||||
-V, --verbose More verbose output
|
||||
-v, --version Version info
|
||||
|
|
|
@ -20,7 +20,7 @@ var opts = require('commander')
|
|||
)
|
||||
.option(
|
||||
'-c, --config <file>',
|
||||
'Configuration file',
|
||||
'Configuration file [config.json]',
|
||||
'config.json'
|
||||
)
|
||||
.option(
|
||||
|
@ -29,7 +29,7 @@ var opts = require('commander')
|
|||
)
|
||||
.option(
|
||||
'-p, --port <port>',
|
||||
'Port',
|
||||
'Port [8080]',
|
||||
parseInt,
|
||||
8080
|
||||
)
|
||||
|
|
Loading…
Reference in a new issue