diff options
Diffstat (limited to 'src')
| -rw-r--r-- | src/args.rs | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/args.rs b/src/args.rs index fe74f5e..349c07c 100644 --- a/src/args.rs +++ b/src/args.rs @@ -3,7 +3,6 @@ use clap::{ArgAction, Parser}; #[derive(Parser, Debug)] #[command(name = "ping")] #[command(about = "A ping program")] -#[command(disable_help_flag = true)] pub struct Args { /// Beep on each ping #[arg(short = 'a', long = "beep", action = ArgAction::SetTrue)] @@ -17,7 +16,7 @@ pub struct Args { #[arg(short = 'I', value_name = "interface")] pub interface: Option<String>, - /// number of milliseconds to wait between 2 pings + /// The number of milliseconds to wait between 2 pings #[arg(short = 'i', value_name = "milliseconds")] pub interval: Option<u32>, |