Skip to content

Commit e3bc05f

Browse files
committed
Removed '-Q' option to show qr
Updated doc/http-server.1 to add --qr-code option Updated portfinder to 1.0.28
1 parent a569197 commit e3bc05f

File tree

4 files changed

+7
-3
lines changed

4 files changed

+7
-3
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff 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| |

bin/http-server

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff 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',

doc/http-server.1

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -111,6 +111,10 @@ If not specified, uses cert.pem.
111111
Path to SSL key file.
112112
If 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 " " [\fIUSER\-AGENT\fR]
116120
Respond to /robots.txt request.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -93,7 +93,7 @@
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",

0 commit comments

Comments
 (0)