File tree Expand file tree Collapse file tree 4 files changed +7
-3
lines changed
Expand file tree Collapse file tree 4 files changed +7
-3
lines changed Original file line number Diff line number Diff line change @@ -63,7 +63,7 @@ This will install `http-server` globally so that it may be run from the command
6363| ` -S ` or ` --ssl ` | Enable https.| |
6464| ` -C ` or ` --cert ` | Path to ssl cert file | ` cert.pem ` |
6565| ` -K ` or ` --key ` | Path to ssl key file | ` key.pem ` |
66- |` -Q ` or ` - -qr-code` |Show QR code for public IP | |,
66+ |` --qr-code ` |Show QR code for public IP | |,
6767| ` -r ` or ` --robots ` | Automatically provide a /robots.txt (The content of which defaults to ` User-agent: *\nDisallow: / ` ) | ` false ` |
6868| ` --no-dotfiles ` | Do not show dotfiles| |
6969| ` --mimetypes ` | Path to a .types file for custom mimetype definition| |
Original file line number Diff line number Diff line change @@ -50,7 +50,7 @@ if (argv.h || argv.help) {
5050 ' -S --ssl Enable https.' ,
5151 ' -C --cert Path to ssl cert file (default: cert.pem).' ,
5252 ' -K --key Path to ssl key file (default: key.pem).' ,
53- ' -Q - -qr-code Show QR code for public IP' ,
53+ ' --qr-code Show QR code for public IP' ,
5454 '' ,
5555 ' -r --robots Respond to /robots.txt [User-agent: *\\nDisallow: /]' ,
5656 ' --no-dotfiles Do not show dotfiles' ,
Original file line number Diff line number Diff line change @@ -111,6 +111,10 @@ If not specified, uses cert.pem.
111111Path to SSL key file.
112112If not specified, uses key.pem.
113113
114+ .TP
115+ .BI \-\- qr\- code
116+ Show QR code for public IP.
117+
114118.TP
115119.BI \- r " , " \-\- robots " " [\fI USER \- AGENT \fR ]
116120Respond to /robots.txt request.
Original file line number Diff line number Diff line change 9393 "mime" : " ^1.6.0" ,
9494 "minimist" : " ^1.2.5" ,
9595 "opener" : " ^1.5.1" ,
96- "portfinder" : " ^1.0.25 " ,
96+ "portfinder" : " ^1.0.28 " ,
9797 "qrcode-terminal" : " ^0.12.0" ,
9898 "secure-compare" : " 3.0.1" ,
9999 "union" : " ~0.5.0" ,
You can’t perform that action at this time.
0 commit comments