Closed petermr closed 4 years ago
Short options (also known as POSIX options) can be clustered, if they are boolean options that do not accept an argument. Only the last option in a cluster can take an argument.
Example:
tar -xvfFILE
Is equivalent to tar -x -v -f=FILE
.
These options can be clustered because -x
and -v
are flags that don't take an argument.
filter
optionsThe POSIX short options -s
, -d
and -m
in the filter
command do take an argument, so they cannot be clustered.
The -s
option can accept an argument, so picocli interprets -sdm image
as -s=dm image
.
small options (
-s
,-d
,-m
) work when explicit but ...... but fails when concatenated