Skip to content

Commit

Permalink
style: applied cargo fmt
Browse files Browse the repository at this point in the history
  • Loading branch information
ErikBjare committed Jun 8, 2022
1 parent 87bc9ad commit 583fd63
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion aw-server/src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@ extern crate log;

use std::env;

use clap::Parser;
use clap::crate_version;
use clap::Parser;

use aw_server::*;

Expand All @@ -21,22 +21,28 @@ struct Opts {
/// Run in testing mode
#[clap(long)]
testing: bool,

/// Address to listen to
#[clap(long)]
host: Option<String>,

/// Port to listen on
#[clap(long)]
port: Option<String>,

/// Path to database override
/// Also implies --no-legacy-import if no db found
#[clap(long)]
dbpath: Option<String>,

/// Path to webui override
#[clap(long)]
webpath: Option<String>,

/// Device ID override
#[clap(long)]
device_id: Option<String>,

/// Don't import from aw-server-python if no aw-server-rust db found
#[clap(long)]
no_legacy_import: bool,
Expand Down

0 comments on commit 583fd63

Please sign in to comment.