aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--colorize.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/colorize.c b/colorize.c
index a25ec59..3bb628a 100644
--- a/colorize.c
+++ b/colorize.c
@@ -312,6 +312,7 @@ main (int argc, char **argv)
{
if (arg_cnt == 0 || arg_cnt > 2)
{
+ vfprintf_diag ("%u arguments provided, expected 1-2 arguments or option", arg_cnt);
print_help ();
exit (EXIT_FAILURE);
}