From 271e3810442cca7ba43f1aee775c36180781372a Mon Sep 17 00:00:00 2001 From: Thomas White Date: Thu, 10 Jan 2013 16:36:39 +0100 Subject: Handle '?' return value from getopt_long() --- src/check_hkl.c | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src/check_hkl.c') diff --git a/src/check_hkl.c b/src/check_hkl.c index 8e171904..f82855ab 100644 --- a/src/check_hkl.c +++ b/src/check_hkl.c @@ -380,6 +380,9 @@ int main(int argc, char *argv[]) } break; + case '?' : + break; + default : ERROR("Unhandled option '%c'\n", c); break; -- cgit v1.2.3