aboutsummaryrefslogtreecommitdiff
path: root/src/compare_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/compare_hkl.c
parenta64d5b1492a7eda72f3ff1162742f6c2aed21410 (diff)
Handle '?' return value from getopt_long()
Diffstat (limited to 'src/compare_hkl.c')
-rw-r--r--src/compare_hkl.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/compare_hkl.c b/src/compare_hkl.c
index 08f26e5e..c3e7a547 100644
--- a/src/compare_hkl.c
+++ b/src/compare_hkl.c
@@ -771,6 +771,9 @@ int main(int argc, char *argv[])
shell_file = strdup(optarg);
break;
+ case '?' :
+ break;
+
default :
ERROR("Unhandled option '%c'\n", c);
break;