From 635c6955c33e40fa3aec8ce559fb1afac156c551 Mon Sep 17 00:00:00 2001 From: Fuad Ismail Date: Sun, 17 Nov 2024 00:00:34 +0700 Subject: [PATCH] dmesg: add help message to -K and -J options. --- src/uu/dmesg/src/dmesg.rs | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/uu/dmesg/src/dmesg.rs b/src/uu/dmesg/src/dmesg.rs index 5d8857b..27ba0ef 100644 --- a/src/uu/dmesg/src/dmesg.rs +++ b/src/uu/dmesg/src/dmesg.rs @@ -31,12 +31,14 @@ pub fn uu_app() -> Command { Arg::new(options::KMSG_FILE) .short('K') .long("kmsg-file") + .help("use the file in kmsg format") .action(ArgAction::Set), ) .arg( Arg::new(options::JSON) .short('J') .long("json") + .help("use JSON output format") .action(ArgAction::SetTrue), ) }