Skip to content
Myr

Help text wrapping

Before adoption: this commit came in with the history the project adopted, so no landing records it.

authored by David Peter · committed by David Peter · parent 8f20aed · Browse files · 2 files+3 added−2 removed
This commit

State

Before adoption: this commit came in with the history the project adopted, so no landing records it.

Diff stats

2 files+3 added−2 removed

  • other:+3 added−2 removed

2 files+3 added−2 removed

modified:src/cli.rs+2 added-1 removed
19 unmodified lines
20 .next_line_help(true)21 .hide_possible_values(true)22 .about("A command-line benchmarking tool.")23 .help_expected(true)24 .term_width(100)25 .arg(26 Arg::new("command")27 .help("The command to benchmark. This can be the name of an executable, a command \28 line like \"grep -i todo\" or a shell command like \"sleep 0.5 && echo test\". \
265 unmodified lines
294 .arg(295 Arg::new("input")296 .long("input")297 .action(ArgAction::Set)297 .number_of_values(1)298 .num_args(1)299 .value_name("WHERE")300 .help("Control where the input of the benchmark comes from.\n\301 \n\302 <WHERE> can be:\n\
39 unmodified lines
modified:Cargo.toml+1 added-1 removed