fix(cli): update long arguments

Changed clap long attributes from --host to host and --port to port.
This commit is contained in:
MedzikUser 2022-08-19 12:16:02 +02:00
parent 95d0e15786
commit 9f66c2b9d2
No known key found for this signature in database
GPG Key ID: A5FAC1E185C112DB
1 changed files with 2 additions and 2 deletions

View File

@ -17,7 +17,7 @@ use servers::server::MAX_PACKET_LEN;
struct Cli {
#[clap(
short = 'i',
long = "--host",
long = "host",
help = "Server host",
default_value = "0.0.0.0",
display_order = 1
@ -26,7 +26,7 @@ struct Cli {
#[clap(
short = 'p',
long = "--port",
long = "port",
help = "Server port",
default_value = "9999",
display_order = 2