[Pdbg] [PATCH 03/29] main: Handle unknown getopt argument
Cyril Bur
cyrilbur at gmail.com
Fri Feb 9 15:38:31 AEDT 2018
Signed-off-by: Cyril Bur <cyrilbur at gmail.com>
---
src/main.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/src/main.c b/src/main.c
index 2c705b4..388ec62 100644
--- a/src/main.c
+++ b/src/main.c
@@ -346,6 +346,7 @@ static bool parse_options(int argc, char *argv[])
exit(1);
break;
+ case '?':
case 'h':
opt_error = true;
break;
--
2.16.1
More information about the Pdbg
mailing list