From fbe8b2e1cd1111b440b769eb62ffcd4711b24839 Mon Sep 17 00:00:00 2001 From: Thomas White Date: Tue, 4 Sep 2012 11:48:27 +0200 Subject: Fix widespread bug-hiding problem with command line argument handling --- src/render_hkl.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/render_hkl.c') diff --git a/src/render_hkl.c b/src/render_hkl.c index a01e7609..11dba4a9 100644 --- a/src/render_hkl.c +++ b/src/render_hkl.c @@ -689,7 +689,8 @@ int main(int argc, char *argv[]) break; default : - return 1; + ERROR("Unhandled option '%c'\n", c); + break; } -- cgit v1.2.3