-option Error message. I think we should not just report command ‘p’ error.
seulchanson opened this issue · comments
seulchanson commented
seulchanson commented
Krzysiek Karbowiak commented
The behaviour is due to ability to pass joined flags. That is, -ap
is equivalent to -a -p
. And since you defined the -a
option, it is accepted and the next one (-p
) is unrecognised.
jarro2783 commented
Yes, in this case only the option p
is the unrecognised one.
seulchanson commented
If we have an option --parallel [int] -p [std::string].
The input is -parallel, we can't get correct tips for parallel.
How to close command link for '-'.
jarro2783 commented
I don't understand the question. Can you explain a bit more what the problem is?