Unfortunately helpOption->count == 1 for the following command line input: ./substring --hel. Note: the long option entered is hel and not help, therefore I would expect a parser error here.
Here is the full source code for the executable named substring:
I have a long option by the name of "help" as illustrated by the code snippet below:
Unfortunately
helpOption->count == 1
for the following command line input:./substring --hel
. Note: the long option entered ishel
and nothelp
, therefore I would expect a parser error here.Here is the full source code for the executable named substring: