Skip to content

Commit baad23f

Browse files
authored
fix: Fix webserver help command (#878)
1 parent 5988014 commit baad23f

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

WebApp/src/index.ts

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -16,13 +16,13 @@ export class RenderStreaming {
1616
if (Array.isArray(argv)) {
1717
program
1818
.usage('[options] <apps...>')
19-
.option('-p, --port <n>', 'Port to start the server on', process.env.PORT || `80`)
20-
.option('-s, --secure', 'Enable HTTPS (you need server.key and server.cert)', process.env.SECURE || false)
21-
.option('-k, --keyfile <path>', 'https key file (default server.key)', process.env.KEYFILE || 'server.key')
22-
.option('-c, --certfile <path>', 'https cert file (default server.cert)', process.env.CERTFILE || 'server.cert')
23-
.option('-t, --type <type>', 'Type of signaling protocol, Choose websocket or http (default websocket)', process.env.TYPE || 'websocket')
24-
.option('-m, --mode <type>', 'Choose Communication mode public or private (default public)', process.env.MODE || 'public')
25-
.option('-l, --logging <type>', 'Choose http logging type combined, dev, short, tiny or none.(default dev)', process.env.LOGGING || 'dev')
19+
.option('-p, --port <n>', 'Port to start the server on.', process.env.PORT || `80`)
20+
.option('-s, --secure', 'Enable HTTPS (you need server.key and server.cert).', process.env.SECURE || false)
21+
.option('-k, --keyfile <path>', 'https key file.', process.env.KEYFILE || 'server.key')
22+
.option('-c, --certfile <path>', 'https cert file.', process.env.CERTFILE || 'server.cert')
23+
.option('-t, --type <type>', 'Type of signaling protocol, Choose websocket or http.', process.env.TYPE || 'websocket')
24+
.option('-m, --mode <type>', 'Choose Communication mode public or private.', process.env.MODE || 'public')
25+
.option('-l, --logging <type>', 'Choose http logging type combined, dev, short, tiny or none.', process.env.LOGGING || 'dev')
2626
.parse(argv);
2727
const option = program.opts();
2828
return {

0 commit comments

Comments
 (0)