diff options
author | Thomas White <taw@physics.org> | 2013-01-10 16:36:39 +0100 |
---|---|---|
committer | Thomas White <taw@physics.org> | 2013-01-10 16:36:39 +0100 |
commit | 271e3810442cca7ba43f1aee775c36180781372a (patch) | |
tree | 5852fcb9a6bf92915e049b0b26ee8c6d4d64ab4b /src/get_hkl.c | |
parent | a64d5b1492a7eda72f3ff1162742f6c2aed21410 (diff) |
Handle '?' return value from getopt_long()
Diffstat (limited to 'src/get_hkl.c')
-rw-r--r-- | src/get_hkl.c | 3 |
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; |