diff --git a/README.md b/README.md index 9676726..0c98b5f 100644 --- a/README.md +++ b/README.md @@ -33,7 +33,7 @@ Arguments: [ROOT] Set the root path of the static assets [default: .] Options: - -s, --host Set the listener host [default: LAN IP address] + -H, --host Set the listener host [default: LAN IP address] -p, --port Set the listener port [default: 8000] -h, --help Print help -V, --version Print version diff --git a/src/main.rs b/src/main.rs index d27d9b9..a85585b 100644 --- a/src/main.rs +++ b/src/main.rs @@ -11,7 +11,7 @@ struct Args { #[clap(default_value = ".")] root: String, /// Set the listener host [default: LAN IP address] - #[clap(short = 's', long)] + #[clap(short = 'H', long)] host: Option, /// Set the listener port #[clap(short, long, default_value_t = 8000)]