Closed francoisGuerret closed 6 years ago
Mhh, these are actually difficult to implement with a normal arguments parser. Vim allows consider as equivalent the following:
eovim -p a b
eovim -p0 a b
From the efl getopt perspective, in the first case, a
will be the short option for -p
.
The good solution would be to use --
to separate the arguments from the options:
eovim -p -- a b
But I concede this is a cumbersome notation. Would it be okay if -p
(and the whole family) would be split into short options without argument (-p
) that are equivalent to -p0
and long options --tabs
that would require to explicitely provide the number of tabs/splits?
I'll go with something like this, if this does not suit you, please let me know and feel free to re-open the issue.
please support -O, -o, -p vim option