mirror of
https://github.com/webtorrent/bittorrent-tracker.git
synced 2025-01-18 20:21:36 +00:00
cmd: better help
This commit is contained in:
parent
422db58a4e
commit
7ea2a138d3
@ -40,15 +40,15 @@ if (argv.help) {
|
|||||||
bittorrent-tracker - Start a bittorrent tracker server
|
bittorrent-tracker - Start a bittorrent tracker server
|
||||||
|
|
||||||
Usage:
|
Usage:
|
||||||
bittorrent-tracker
|
bittorrent-tracker [OPTIONS]
|
||||||
|
|
||||||
Options:
|
Options:
|
||||||
-p, --port [number] change the port [default: 8000]
|
-p, --port [number] change the port [default: 8000]
|
||||||
--trust-proxy trust 'x-forwarded-for' header from reverse proxy
|
--trust-proxy trust 'x-forwarded-for' header from reverse proxy
|
||||||
--interval tell clients to announce on this interval (ms)
|
--interval tell clients to announce on this interval (ms)
|
||||||
--http enable http server [default: true]
|
--http enable http server? [default: true]
|
||||||
--udp enable udp server [default: true]
|
--udp enable udp server? [default: true]
|
||||||
--ws enable websocket server [default: false]
|
--ws enable websocket server? [default: false]
|
||||||
-q, --quiet only show error output
|
-q, --quiet only show error output
|
||||||
-s, --silent show no output
|
-s, --silent show no output
|
||||||
-v, --version print the current version
|
-v, --version print the current version
|
||||||
|
Loading…
Reference in New Issue
Block a user