Skip to content

Commit

Permalink
HPCC-30310 Clarify usage errors
Browse files Browse the repository at this point in the history
Signed-off-by: Terrence Asselin <[email protected]>
  • Loading branch information
asselitx committed Nov 30, 2023
1 parent 09b7809 commit 92a36bf
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions tools/esdlcmd/esdl2ecl.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -199,6 +199,7 @@ class Esdl2EclCmd : public EsdlConvertCmd
{
if (iter.done())
{
fprintf(stderr, "\nRequired sourcePath parameter missing.\n");
usage();
return false;
}
Expand All @@ -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;
}
Expand Down

0 comments on commit 92a36bf

Please sign in to comment.