Update help of sub command in case the command is unknown

This commit is contained in:
Emmanuel Bigeon 2017-11-25 10:46:28 -05:00
parent d4b695f60b
commit e9fa6e209f

View File

@ -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