diff options
Diffstat (limited to 'src/examples/rover_steering_control/main.cpp')
-rw-r--r-- | src/examples/rover_steering_control/main.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/examples/rover_steering_control/main.cpp b/src/examples/rover_steering_control/main.cpp index 96b40b23f..41df96775 100644 --- a/src/examples/rover_steering_control/main.cpp +++ b/src/examples/rover_steering_control/main.cpp @@ -412,7 +412,7 @@ usage(const char *reason) */ int rover_steering_control_main(int argc, char *argv[]) { - if (argc < 1) { + if (argc < 2) { usage("missing command"); } |