diff options
| author | ache <ache@ache.one> | 2026-08-16 22:10:46 +0200 |
|---|---|---|
| committer | ache <ache@ache.one> | 2026-08-16 22:10:46 +0200 |
| commit | e563aad5f06189b7f55c45111921f1b489b075eb (patch) | |
| tree | a3c146d565b56faf15438291d6e7459a365e6e06 /src/args.rs | |
| parent | Add the default help option of clap (diff) | |
Add the -S short option for the status line
Diffstat (limited to 'src/args.rs')
| -rw-r--r-- | src/args.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/args.rs b/src/args.rs index 349c07c..52d7ae8 100644 --- a/src/args.rs +++ b/src/args.rs @@ -33,7 +33,7 @@ pub struct Args { pub legende: bool, /// Print the status line, the given target and the IP the ping is send to. - #[arg(long = "status", action = ArgAction::SetTrue)] + #[arg(short = 'S', long = "status", action = ArgAction::SetTrue)] pub status: bool, /// Default target, if none is specified |