mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-01-09 09:28:31 -04:00
AP_HAL_SITL: Return zero when using the help command
Signed-off-by: Patrick José Pereira <patrickelectric@gmail.com>
This commit is contained in:
parent
26d1e34c19
commit
b608ceb6ed
@ -457,6 +457,9 @@ void SITL_State::_parse_command_line(int argc, char * const argv[])
|
|||||||
printf("Setting SYSID_THISMAV=%d\n", sysid);
|
printf("Setting SYSID_THISMAV=%d\n", sysid);
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
case 'h':
|
||||||
|
_usage();
|
||||||
|
exit(0);
|
||||||
default:
|
default:
|
||||||
_usage();
|
_usage();
|
||||||
exit(1);
|
exit(1);
|
||||||
|
Loading…
Reference in New Issue
Block a user