Skip to content

Commit

Permalink
scaffold rrhttp config arg
Browse files Browse the repository at this point in the history
  • Loading branch information
slivingston committed Oct 19, 2024
1 parent c399a3f commit a57de61
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions src/bin/rrhttp.rs
Original file line number Diff line number Diff line change
Expand Up @@ -201,11 +201,18 @@ fn main() -> Result<(), Box<dyn std::error::Error>> {
env_logger::init();

let matches = clap::App::new("rrhttp")
// .max_term_width(80)
.arg(
Arg::with_name("TARGET")
.required(true)
.help("target HOST:PORT"),
)
.arg(
Arg::with_name("config")
.long("config")
.value_name("FILE")
.help("configuration file")
)
.version(crate_version!())
.get_matches();

Expand Down

0 comments on commit a57de61

Please sign in to comment.