Skip to content

Commit 1e0b2ba

Browse files
committed
docs: Add CLI documentation
1 parent 12ed0f5 commit 1e0b2ba

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

src/main.rs

+4
Original file line numberDiff line numberDiff line change
@@ -9,12 +9,16 @@ use tokio::signal;
99

1010
#[derive(Debug, StructOpt)]
1111
struct Opts {
12+
/// Log verbosity. Overrides logger level in config, but is overridden by HYPERION_LOG
1213
#[structopt(short, long, parse(from_occurrences))]
1314
verbose: u32,
15+
/// Path to the configuration database
1416
#[structopt(short, long = "db-path")]
1517
database_path: Option<String>,
18+
/// Path to a TOML config file. Overrides the configuration database
1619
#[structopt(short, long = "config")]
1720
config_path: Option<PathBuf>,
21+
/// Dump the loaded configuration
1822
#[structopt(long)]
1923
dump_config: bool,
2024
}

0 commit comments

Comments
 (0)