aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorache <ache@ache.one>2026-08-16 22:10:46 +0200
committerache <ache@ache.one>2026-08-16 22:10:46 +0200
commite563aad5f06189b7f55c45111921f1b489b075eb (patch)
treea3c146d565b56faf15438291d6e7459a365e6e06 /src
parentAdd the default help option of clap (diff)
Add the -S short option for the status line
Diffstat (limited to 'src')
-rw-r--r--src/args.rs2
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