aboutsummaryrefslogtreecommitdiff
path: root/src/get_hkl.c
diff options
context:
space:
mode:
authorThomas White <taw@physics.org>2013-01-10 16:36:39 +0100
committerThomas White <taw@physics.org>2013-01-10 16:36:39 +0100
commit271e3810442cca7ba43f1aee775c36180781372a (patch)
tree5852fcb9a6bf92915e049b0b26ee8c6d4d64ab4b /src/get_hkl.c
parenta64d5b1492a7eda72f3ff1162742f6c2aed21410 (diff)
Handle '?' return value from getopt_long()
Diffstat (limited to 'src/get_hkl.c')
-rw-r--r--src/get_hkl.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/get_hkl.c b/src/get_hkl.c
index 7b66e427..c879a51a 100644
--- a/src/get_hkl.c
+++ b/src/get_hkl.c
@@ -425,6 +425,9 @@ int main(int argc, char *argv[])
case 0 :
break;
+ case '?' :
+ break;
+
default :
ERROR("Unhandled option '%c'\n", c);
break;