commons-cli

Regarding Java Command Line Arguments

I have the below command line arguments set for the program. argument proc is mandatory argument chgval is optional and argument inputfile is optional. ./test.sh -proc mode1 -chval a -inputfile b.csv I need to modify the below function so that either one of the optional argument should exists in command line arguments along with ...