forked from extern/nushell
Improve full help for flags (#4559)
This commit is contained in:
parent
b92aaf0432
commit
a32ce93c79
@ -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 {
|
||||
|
Loading…
Reference in New Issue
Block a user