Cmd_RemoveCommand
(String cmd_name)
| 252 | * Cmd_RemoveCommand |
| 253 | */ |
| 254 | public static void RemoveCommand(String cmd_name) { |
| 255 | if (!cmd_functions.containsKey(cmd_name)) { |
| 256 | Com.Printf("RemoveCommand: " + cmd_name + " does not exist\n"); |
| 257 | } else { |
| 258 | Com.Printf("RemoveCommand: " + cmd_name + " removed\n"); |
| 259 | cmd_functions.remove(cmd_name); |
| 260 | } |
| 261 | } |
| 262 | |
| 263 | public static String getArguments(List<String> args, int startIndex) { |
| 264 | if (args.isEmpty() || startIndex >= args.size()) |
no test coverage detected