diff options
| author | metamuffin <metamuffin@disroot.org> | 2025-10-30 11:41:16 +0100 |
|---|---|---|
| committer | metamuffin <metamuffin@disroot.org> | 2025-10-30 11:41:16 +0100 |
| commit | c68cc6f5d62e81ccb77d710cea143a679b673df9 (patch) | |
| tree | 8f40a766aa87ff967ac2ad58eeee9b5f6571eb6d /server/src/main.rs | |
| parent | aee4e6229b6a796691ba7a5bfff4e2b76700662a (diff) | |
| download | hurrycurry-c68cc6f5d62e81ccb77d710cea143a679b673df9.tar hurrycurry-c68cc6f5d62e81ccb77d710cea143a679b673df9.tar.bz2 hurrycurry-c68cc6f5d62e81ccb77d710cea143a679b673df9.tar.zst | |
Improve cli doc strings
Diffstat (limited to 'server/src/main.rs')
| -rw-r--r-- | server/src/main.rs | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/server/src/main.rs b/server/src/main.rs index 8a080af6..9ee58a41 100644 --- a/server/src/main.rs +++ b/server/src/main.rs @@ -39,10 +39,10 @@ use tokio_tungstenite::{WebSocketStream, tungstenite::Message}; #[derive(Parser)] pub(crate) struct Args { - /// Print the version, then exit + /// Print server version, then exit #[arg(short, long)] version: bool, - /// Set the path to the game data directory, autodetect if ommitted + /// Set the path to the game data directory, autodetected if ommitted #[arg(short, long)] data_dir: Option<PathBuf>, /// Set the address on which the server should listen @@ -54,7 +54,7 @@ pub(crate) struct Args { /// Inactivity kick timeout in seconds #[arg(long, default_value_t = 60.)] inactivity_kick_timeout: f32, - /// Enables submissions to the public server registry + /// Registers this server to the public server registry #[arg(long)] #[cfg(feature = "register")] register: bool, @@ -62,7 +62,7 @@ pub(crate) struct Args { #[cfg(feature = "mdns")] #[arg(long)] mdns: bool, - // Enables automatic gateway port forwarding using UPnP + /// Enables automatic gateway port forwarding using UPnP #[cfg(feature = "upnp")] #[arg(long)] upnp: bool, |