diff --git a/aw-server/src/main.rs b/aw-server/src/main.rs index 853c2eea..3b0a1d87 100644 --- a/aw-server/src/main.rs +++ b/aw-server/src/main.rs @@ -3,8 +3,8 @@ extern crate log; use std::env; -use clap::Parser; use clap::crate_version; +use clap::Parser; use aw_server::*; @@ -21,22 +21,28 @@ struct Opts { /// Run in testing mode #[clap(long)] testing: bool, + /// Address to listen to #[clap(long)] host: Option, + /// Port to listen on #[clap(long)] port: Option, + /// Path to database override /// Also implies --no-legacy-import if no db found #[clap(long)] dbpath: Option, + /// Path to webui override #[clap(long)] webpath: Option, + /// Device ID override #[clap(long)] device_id: Option, + /// Don't import from aw-server-python if no aw-server-rust db found #[clap(long)] no_legacy_import: bool,