tools: dumpimage: Fall-though to print usage for help command
authorAndrew F. Davis <afd@ti.com>
Tue, 17 Sep 2019 21:09:35 +0000 (17:09 -0400)
committerTom Rini <trini@konsulko.com>
Tue, 7 Jan 2020 16:12:47 +0000 (11:12 -0500)
This has the same result but some compilers will warn about this
fall-through if there are statements as part of the label block.

Signed-off-by: Andrew F. Davis <afd@ti.com>
Reviewed-by: Lokesh Vutla <lokeshvutla@ti.com>
tools/dumpimage.c

index d5f893daf1694b49d48e17b22a9e3f8ffd7c6fbc..e5481435a7644add00810f7d6a7548762d2cb79a 100644 (file)
@@ -104,7 +104,6 @@ int main(int argc, char **argv)
                        printf("dumpimage version %s\n", PLAIN_VERSION);
                        exit(EXIT_SUCCESS);
                case 'h':
-                       usage();
                default:
                        usage();
                        break;