mirror of https://github.com/mthenw/frontail.git
--help cleanup
parent
283c486ac3
commit
4efa0cf4a7
28
README.md
28
README.md
|
@ -24,20 +24,20 @@
|
|||
|
||||
Options:
|
||||
|
||||
-h, --help output usage information
|
||||
-V, --version output the version number
|
||||
-h, --host <host> listening host, default 0.0.0.0
|
||||
-p, --port <port> listening port, default 9001
|
||||
-n, --number <number> starting lines number, default 10
|
||||
-l, --lines <lines> number on lines stored in browser, default 2000
|
||||
-t, --theme <theme> name of the theme (default, dark), default "default"
|
||||
-d, --daemonize run as daemon
|
||||
-U, --user <username> Basic Authentication username, this option works only along with -P option
|
||||
-P, --password <password> Basic Authentication password, this option works only along with -U option
|
||||
-k, --key <key.pem> private key for HTTPS
|
||||
-c, --certificate <cert.pem> certificate for HTTPS
|
||||
--pid-path <path> if run as daemon file that will store the process id, default /var/run/frontail.pid
|
||||
--log-path <path> if run as daemon file that will be used as a log, default /dev/null
|
||||
-h, --help output usage information
|
||||
-V, --version output the version number
|
||||
-h, --host <host> listening host, default 0.0.0.0
|
||||
-p, --port <port> listening port, default 9001
|
||||
-n, --number <number> starting lines number, default 10
|
||||
-l, --lines <lines> number on lines stored in browser, default 2000
|
||||
-t, --theme <theme> name of the theme (default, dark)
|
||||
-d, --daemonize run as daemon
|
||||
-U, --user <username> Basic Authentication username, this option works only along with -P option
|
||||
-P, --password <password> Basic Authentication password, this option works only along with -U option
|
||||
-k, --key <path/to/key.pem> Private Key for HTTPS, this option works only along with -c option
|
||||
-c, --certificate <path/to/cert.pem> Certificate for HTTPS, this option works only along with -k option
|
||||
--pid-path <path> if run as daemon file that will store the process id, default /var/run/frontail.pid
|
||||
--log-path <path> if run as daemon file that will be used as a log, default /dev/null
|
||||
|
||||
Web interface is on http://localhost:[port]
|
||||
|
||||
|
|
4
index.js
4
index.js
|
@ -26,8 +26,8 @@ var serverBuilder = require('./lib/server_builder');
|
|||
'Basic Authentication username, this option works only along with -P option', String, false)
|
||||
.option('-P, --password <password>',
|
||||
'Basic Authentication password, this option works only along with -U option', String, false)
|
||||
.option('-k, --key <path/to/key.pem>', 'Private Key for HTTPS', String, false)
|
||||
.option('-c, --certificate <path/to/cert.pem>', 'Certificate for HTTPS', String, false)
|
||||
.option('-k, --key <path/to/key.pem>', 'Private Key for HTTPS, this option works only along with -c option', String, false)
|
||||
.option('-c, --certificate <path/to/cert.pem>', 'Certificate for HTTPS, this option works only along with -k option', String, false)
|
||||
.option('--pid-path <path>',
|
||||
'if run as daemon file that will store the process id, default /var/run/frontail.pid',
|
||||
String, '/var/run/frontail.pid')
|
||||
|
|
Loading…
Reference in New Issue