mirror of
https://github.com/nushell/nushell.git
synced 2025-02-16 10:32:29 +01:00
Fix display formatting for command type in help commands
(#12996)
# Description Related to #12832, this PR changes the way `help commands` displays the command type to be consistent with `scope commands` and `which`. # User-Facing Changes Technically a breaking change since the `help commands` output can now be different.
This commit is contained in:
parent
a246a19387
commit
d6a9fb0e40
@ -122,7 +122,7 @@ fn build_help_commands(engine_state: &EngineState, span: Span) -> Vec<Value> {
|
||||
let usage = sig.usage;
|
||||
let search_terms = sig.search_terms;
|
||||
|
||||
let command_type = format!("{:?}", decl.command_type()).to_ascii_lowercase();
|
||||
let command_type = decl.command_type().to_string();
|
||||
|
||||
// Build table of parameters
|
||||
let param_table = {
|
||||
|
Loading…
Reference in New Issue
Block a user