Skip to content

Commit c1f01c3

Browse files
committed
add usage info
1 parent 6c939ba commit c1f01c3

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

common-tools/clas-utils/src/main/java/org/jlab/utils/options/OptionParser.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -179,6 +179,7 @@ else if(this.containsOptions(arguments,"-v","-version")==true){
179179
}
180180
}
181181
if (this.requiresInputList && this.parsedInputList.isEmpty()) {
182+
printUsage();
182183
System.err.println(" \n*** ERROR *** Empty Input List.");
183184
System.exit(101);
184185
}

0 commit comments

Comments
 (0)