diff --git a/clar.c b/clar.c index 620a475..3772cb2 100644 --- a/clar.c +++ b/clar.c @@ -4,7 +4,7 @@ * This file is part of clar, distributed under the ISC license. * For full terms see the included COPYING file. */ -#include + #include #include #include @@ -560,7 +560,8 @@ clar_parse_args(int argc, char **argv) break; default: - assert(!"Unexpected commandline argument!"); + clar_abort("Unexpected commandline argument '%s'.\n", + argument[1]); } } }