diff tools/fanalyze.c @ 2441:275374725598

Show help when no arguments.
author Matti Hamalainen <ccr@tnsp.org>
date Sat, 29 Feb 2020 12:32:08 +0200
parents 0d86e7ff49e1
children 0d13de7edb30
line wrap: on
line diff
--- a/tools/fanalyze.c	Wed Feb 26 18:15:17 2020 +0200
+++ b/tools/fanalyze.c	Sat Feb 29 12:32:08 2020 +0200
@@ -678,7 +678,7 @@
 
     if (nsrcFiles < 1)
     {
-        dmErrorMsg("Nothing to do. (try --help)\n");
+        argShowHelp();
         goto out;
     }