diff --git a/Cargo.toml b/Cargo.toml index 9a23e25..2938378 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,5 +1,6 @@ [package] name = "dip" +description = "Configurable webhook server." version = "0.1.0" authors = ["Michael Zhang "] diff --git a/src/main.rs b/src/main.rs index 7349407..8e4f95a 100644 --- a/src/main.rs +++ b/src/main.rs @@ -10,8 +10,12 @@ use structopt::StructOpt; #[derive(Debug, StructOpt)] struct Opt { + /// The root configuration directory for dip. #[structopt(short = "d", long = "root", parse(from_os_str))] root: PathBuf, + /// A string containing the address to bind to. + #[structopt(short = "b", long = "bind")] + bind: Option, } fn main() -> Result<(), Error> {