From a32ce93c79c05e126d9a15781278f11607f7f805 Mon Sep 17 00:00:00 2001 From: JT <547158+jntrnr@users.noreply.github.com> Date: Sat, 19 Feb 2022 21:25:52 -0500 Subject: [PATCH] Improve full help for flags (#4559) --- crates/nu-engine/src/documentation.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/crates/nu-engine/src/documentation.rs b/crates/nu-engine/src/documentation.rs index adadc7f1b3..3d33192b24 100644 --- a/crates/nu-engine/src/documentation.rs +++ b/crates/nu-engine/src/documentation.rs @@ -299,7 +299,7 @@ pub fn get_flags_section(signature: &Signature) -> String { flag.long, arg, flag.desc ) } else { - format!(" --{} {:?}\n {}\n", flag.long, arg, flag.desc) + format!(" --{} <{:?}>\n {}\n", flag.long, arg, flag.desc) } } else if let Some(short) = flag.short { if flag.required {