aboutsummaryrefslogtreecommitdiff
path: root/src/compare_hkl.c
diff options
context:
space:
mode:
authorThomas White <taw@bitwiz.org.uk>2012-09-04 11:48:27 +0200
committerThomas White <taw@bitwiz.org.uk>2012-09-04 11:48:53 +0200
commitfbe8b2e1cd1111b440b769eb62ffcd4711b24839 (patch)
tree7d313e6e199a6653c3d4c025c0c943e5cc0587f9 /src/compare_hkl.c
parent9745feca8bc787f3441e961de9b140200242f2f0 (diff)
Fix widespread bug-hiding problem with command line argument handling
Diffstat (limited to 'src/compare_hkl.c')
-rw-r--r--src/compare_hkl.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/compare_hkl.c b/src/compare_hkl.c
index fb1ac117..b6a525fc 100644
--- a/src/compare_hkl.c
+++ b/src/compare_hkl.c
@@ -378,9 +378,9 @@ int main(int argc, char *argv[])
}
break;
-
default :
- return 1;
+ ERROR("Unhandled option '%c'\n", c);
+ break;
}