Closed erikbosch closed 2 months ago
I note that there is a -vt options that may have the same issue. It's nice to have the short options, but you can run out of letters...
Does the option parsing code we use allow for non-conflicting shortening of long options? That is, would --abort be allowed for --abort-on-unknown-attribute if there is no other option that starts with --abort? If so, not having short options for optional options that are not not used often would work well.
Using -t instead of -ot is one way around if short options are necessary, but may be harder or confusing to remember. Would -O be another option.
I think it is recommended to only use single characters for short options, so both -vt
and -ot
are "not recommended". Reason is that arg parser consider for example -x3
and -x 3
to be equal. -vt
is currently not a problem as we have no -v
MoM:
As of today we support
-o
for overlays for--ot
for type output when using structs. When working on enabling-ot
only for cases when actually relevant I noticed that-ot
then can get intepreted as-o t
and you get a totally irrelevant error message.I see some options for vss-tools 5.0:
-ot
with no conflicts, like-t
--types-output-file
-ot
on a tool that does not support it