From b88388b172cdb1c2f79bab6c453cd253cc0895b4 Mon Sep 17 00:00:00 2001 From: Marcel Holtmann Date: Fri, 14 Sep 2018 15:17:14 +0200 Subject: [PATCH] hwsim: Fix missing handling of help option -h --- tools/hwsim.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/hwsim.c b/tools/hwsim.c index 2a071e6f..ab05d836 100644 --- a/tools/hwsim.c +++ b/tools/hwsim.c @@ -2434,7 +2434,7 @@ int main(int argc, char *argv[]) for (;;) { int opt; - opt = getopt_long(argc, argv, ":L:CD:kn:ipv", main_options, + opt = getopt_long(argc, argv, ":L:CD:kn:ipvh", main_options, NULL); if (opt < 0) break;