@@ -24,7 +24,7 @@ if (argv.h || argv.help) {
2424 'usage: http-server [path] [options]' ,
2525 '' ,
2626 'options:' ,
27- ' -p --port Port to use. If 0, look for open port. [8080]' ,
27+ ' -p --port Port to use. If 0, look for open port. [8080]. If --https-redirect, http and (main) https port [8080,443] ' ,
2828 ' -a Address to use [0.0.0.0]' ,
2929 ' -d Show directory listings [true]' ,
3030 ' -i Display autoIndex [true]' ,
@@ -44,9 +44,9 @@ if (argv.h || argv.help) {
4444 ' -U --utc Use UTC time format in log messages.' ,
4545 ' --log-ip Enable logging of the client\'s IP address' ,
4646 '' ,
47- ' -P --proxy Fallback proxy if the request cannot be resolved. e.g.: http://someurl.com' ,
48- ' --proxy-options Pass options to proxy using nested dotted objects. e.g.: --proxy-options.secure false' ,
49- ' -R --https-redirect Auto redirects http -> https' ,
47+ ' -P --proxy Fallback proxy if the request cannot be resolved. e.g.: http://someurl.com' ,
48+ ' --proxy-options Pass options to proxy using nested dotted objects. e.g.: --proxy-options.secure false' ,
49+ ' -R --https-redirect Auto redirects http -> https' ,
5050 '' ,
5151 ' --username Username for basic authentication [none]' ,
5252 ' Can also be specified with the env variable NODE_HTTP_SERVER_USERNAME' ,
0 commit comments