aboutsummaryrefslogtreecommitdiff
path: root/server/src
diff options
context:
space:
mode:
Diffstat (limited to 'server/src')
-rw-r--r--server/src/main.rs8
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,