From f424559af5fed7c73abf50b8b0abc61464cdc2ee Mon Sep 17 00:00:00 2001 From: Andrzej Zaborowski Date: Fri, 17 Apr 2015 17:17:49 +0200 Subject: [PATCH] iwd: Add -K to getopt optstring to fix short option. --- src/main.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main.c b/src/main.c index 300fc8f2..1a0b0a16 100644 --- a/src/main.c +++ b/src/main.c @@ -87,7 +87,7 @@ int main(int argc, char *argv[]) for (;;) { int opt; - opt = getopt_long(argc, argv, "Bvh", main_options, NULL); + opt = getopt_long(argc, argv, "KBvh", main_options, NULL); if (opt < 0) break;