Skip to content

Commit

Permalink
CLI: add missing --port option 🐛📝
Browse files Browse the repository at this point in the history
  • Loading branch information
derhuerst committed Sep 15, 2024
1 parent b8e85cf commit 47df607
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 4 deletions.
8 changes: 6 additions & 2 deletions cli.js
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,10 @@ const {
type: 'string',
short: 'e',
},
'port': {
type: 'string',
short: 'p',
},
'expires': {
type: 'string',
},
Expand Down Expand Up @@ -60,8 +64,8 @@ Options:
Default: $VDV_453_LEITSTELLE
--endpoint -e HTTP(S) URL of the VDV-453 API.
Default: $VDV_453_ENDPOINT
--port -p Port to listen on. VDV-453 requires the client to run an
HTTP server that the VDV-453 API can call.
--port -p Port to listen on. VDV-453 requires the *client* to run
an HTTP server that the VDV-453 API can call.
Default: $PORT, otherwise 3000
--expires Set the subscription's expiry date & time. Must be an
ISO 8601 date+time string or a UNIX epoch/timestamp.
Expand Down
4 changes: 2 additions & 2 deletions readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -54,8 +54,8 @@ Options:
Default: $VDV_453_LEITSTELLE
--endpoint -e HTTP(S) URL of the VDV-453 API.
Default: $VDV_453_ENDPOINT
--port -p Port to listen on. VDV-453 requires the client to run an
HTTP server that the VDV-453 API can call.
--port -p Port to listen on. VDV-453 requires the *client* to run
an HTTP server that the VDV-453 API can call.
Default: $PORT, otherwise 3000
--expires Set the subscription's expiry date & time. Must be an
ISO 8601 date+time string or a UNIX epoch/timestamp.
Expand Down

0 comments on commit 47df607

Please sign in to comment.