diff --git a/src/main.js b/src/main.js index a27e962..c9725a2 100644 --- a/src/main.js +++ b/src/main.js @@ -24,51 +24,51 @@ program .option( '--mbtiles ', 'MBTiles file (uses demo configuration);\n' + - '\t ignored if the configuration file is also specified', + '\t ignored if the configuration file is also specified' ) .option( '-c, --config ', 'Configuration file [config.json]', - 'config.json', + 'config.json' ) .option( '-b, --bind
', - 'Bind address', + 'Bind address' ) .option( '-p, --port ', 'Port [8080]', 8080, - parseInt, + parseInt ) .option( '-C|--no-cors', - 'Disable Cross-origin resource sharing headers', + 'Disable Cross-origin resource sharing headers' ) .option( '-u|--public_url ', - 'Enable exposing the server on subpaths, not necessarily the root of the domain', + 'Enable exposing the server on subpaths, not necessarily the root of the domain' ) .option( '-V, --verbose', - 'More verbose output', + 'More verbose output' ) .option( '-s, --silent', - 'Less verbose output', + 'Less verbose output' ) .option( '-l|--log_file ', - 'output log file (defaults to standard out)', + 'output log file (defaults to standard out)' ) .option( '-f|--log_format ', - 'define the log format: https://github.com/expressjs/morgan#morganformat-options', + 'define the log format: https://github.com/expressjs/morgan#morganformat-options' ) .version( packageJson.version, - '-v, --version', - ); + '-v, --version' + ) program.parse(process.argv); const opts = program.opts();