From 4b4f73d11e398634db187e5d11bb770b25ffc668 Mon Sep 17 00:00:00 2001 From: frekky Date: Mon, 11 Jan 2016 21:02:56 +0800 Subject: [PATCH] Fixed duplicate unrecognised command line option error --- src/iodine.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/iodine.c b/src/iodine.c index 5bf8785..6b95d76 100644 --- a/src/iodine.c +++ b/src/iodine.c @@ -366,6 +366,9 @@ main(int argc, char **argv) } } } + } else if (choice == '?') { + usage(); + /* Not reached */ } else { /* skip all other options until we find preset */ continue;