From 92a36bf5506850b29ea44612b68ac9674481f57a Mon Sep 17 00:00:00 2001 From: Terrence Asselin Date: Thu, 30 Nov 2023 12:40:46 -0600 Subject: [PATCH] HPCC-30310 Clarify usage errors Signed-off-by: Terrence Asselin --- tools/esdlcmd/esdl2ecl.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/tools/esdlcmd/esdl2ecl.cpp b/tools/esdlcmd/esdl2ecl.cpp index 9c81c20dc37..321dbe524a2 100644 --- a/tools/esdlcmd/esdl2ecl.cpp +++ b/tools/esdlcmd/esdl2ecl.cpp @@ -199,6 +199,7 @@ class Esdl2EclCmd : public EsdlConvertCmd { if (iter.done()) { + fprintf(stderr, "\nRequired sourcePath parameter missing.\n"); usage(); return false; } @@ -209,6 +210,7 @@ class Esdl2EclCmd : public EsdlConvertCmd optSource.set(arg); else { + fprintf(stderr, "\nOption detected before required sourcePath parameter: %s\n", arg); usage(); return false; }