Add command groups to the help command autocomplete list
This commit is contained in:
@@ -32,9 +32,8 @@ where
|
||||
R: RepositoryProvider,
|
||||
{
|
||||
for command in commands {
|
||||
if command.subcommands.is_empty() {
|
||||
names.push(format!("{}{}", prefix, command.qualified_name.clone()));
|
||||
} else {
|
||||
if !command.subcommands.is_empty() {
|
||||
let old_len = prefix.len();
|
||||
prefix.push_str(&command.qualified_name);
|
||||
prefix.push(' ');
|
||||
|
||||
Reference in New Issue
Block a user