diff tools/packed.c @ 2441:275374725598

Show help when no arguments.
author Matti Hamalainen <ccr@tnsp.org>
date Sat, 29 Feb 2020 12:32:08 +0200
parents 5b8cb850f5ab
children d18fd4866650
line wrap: on
line diff
--- a/tools/packed.c	Wed Feb 26 18:15:17 2020 +0200
+++ b/tools/packed.c	Sat Feb 29 12:32:08 2020 +0200
@@ -670,8 +670,7 @@
 
     if (optCommand == CMD_NONE)
     {
-        dmErrorMsg("Nothing to do. Perhaps try \"%s --help\"?\n",
-            dmProgName);
+        argShowHelp();
         goto error;
     }