Update help of sub command in case the command is unknown
This commit is contained in:
parent
d4b695f60b
commit
e9fa6e209f
@ -153,6 +153,8 @@ public final class SubedCommand extends CommandProvider implements ICommand {
|
||||
final ICommand c = get(args[0]);
|
||||
if (c != null) {
|
||||
c.help(manager, Arrays.copyOfRange(args, 1, args.length));
|
||||
} else {
|
||||
manager.println("No command "+Arrays.toString(args));
|
||||
}
|
||||
} else {
|
||||
// Generic
|
||||
|
Loading…
Reference in New Issue
Block a user