KDL "mapping" command: Fix argument check
It wasn't possible to actually specify the second argument (team ID).
This commit is contained in:
@@ -3432,7 +3432,7 @@ dump_mapping_info(int argc, char** argv)
|
||||
|
||||
// We need at least one argument, the address. Optionally a team ID can be
|
||||
// specified.
|
||||
if (argi >= argc || argi + 1 < argc) {
|
||||
if (argi >= argc || argi + 2 < argc) {
|
||||
print_debugger_command_usage(argv[0]);
|
||||
return 0;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user