dmesg: add help message to -K and -J options.

This commit is contained in:
Fuad Ismail
2024-11-17 00:00:34 +07:00
parent e321aeefc3
commit 635c6955c3

View File

@@ -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),
)
}