diff options
Diffstat (limited to 'src/modules/mc_pos_control_multiplatform/mc_pos_control_start_nuttx.cpp')
-rw-r--r-- | src/modules/mc_pos_control_multiplatform/mc_pos_control_start_nuttx.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/modules/mc_pos_control_multiplatform/mc_pos_control_start_nuttx.cpp b/src/modules/mc_pos_control_multiplatform/mc_pos_control_start_nuttx.cpp index 1082061f6..0db67d83f 100644 --- a/src/modules/mc_pos_control_multiplatform/mc_pos_control_start_nuttx.cpp +++ b/src/modules/mc_pos_control_multiplatform/mc_pos_control_start_nuttx.cpp @@ -54,7 +54,7 @@ extern int main(int argc, char **argv); extern "C" __EXPORT int mc_pos_control_m_main(int argc, char *argv[]); int mc_pos_control_m_main(int argc, char *argv[]) { - if (argc < 1) { + if (argc < 2) { errx(1, "usage: mc_pos_control_m {start|stop|status}"); } |