diff --git a/cpu/native/startup.c b/cpu/native/startup.c index 1d08b0963f61943f3d8575208b34c3cedaf79165..35997b9d559b4444d72dc475be1376babb9d2a83 100644 --- a/cpu/native/startup.c +++ b/cpu/native/startup.c @@ -303,6 +303,7 @@ __attribute__((constructor)) static void startup(int argc, char **argv, char **e while ((c = getopt_long(argc, argv, short_opts, long_opts, &opt_idx)) >= 0) { switch (c) { case 0: + /* fall through to 'h' */ case 'h': usage_exit(EXIT_SUCCESS); break; @@ -362,6 +363,7 @@ __attribute__((constructor)) static void startup(int argc, char **argv, char **e #endif default: usage_exit(EXIT_FAILURE); + break; } } #ifdef MODULE_NETDEV_TAP