Fix a bug with command completions generations for some subcommands

This commit is contained in:
chickeneer
2022-02-07 18:36:08 -06:00
parent 1c1a39ec8f
commit 4fa0d8ee32
@@ -638,7 +638,7 @@ public abstract class BaseCommand {
final List<String> cmds = new ArrayList<>();
if (search != null) {
for (RegisteredCommand<?> command : search.commands) {
cmds.addAll(completeCommand(issuer, command, args, commandLabel, isAsync));
cmds.addAll(completeCommand(issuer, command, search.args, commandLabel, isAsync));
}
}