mirror of https://github.com/ArduPilot/ardupilot
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);
|
||||
break;
|
||||
}
|
||||
case 'h':
|
||||
_usage();
|
||||
exit(0);
|
||||
default:
|
||||
_usage();
|
||||
exit(1);
|
||||
|
|
Loading…
Reference in New Issue