13 lines
401 B
Rust
13 lines
401 B
Rust
use argh::FromArgs;
|
|
|
|
/// Run the llldap server
|
|
#[derive(FromArgs)]
|
|
pub struct CliArgs {
|
|
/// address or socket to listen on for LDAP connections
|
|
#[argh(option, default = "String::from(\"127.0.0.1:3389\")")]
|
|
pub listen_ldap: String,
|
|
|
|
/// address or socket to listen on for HTTP connections
|
|
#[argh(option, default = "String::from(\"127.0.0.1:3390\")")]
|
|
pub listen_http: String,
|
|
}
|