Julio M. Merino Vidal wrote:
FWIW, I find this CVS like behaviour (where options mean different things depending on where you use them), to be highly confusing and undesirable. If one option mean the same everywhere, it means the interface much simpler.
Somewhat yes. But anyway, I'm not using options in different places with different meanings ;)
Then, why does it matter where the option is specified ;-)
after processing the options, so that argv[0] becomes the name of the action, and any remaining entries are its arguments. The same can be achieved with getopt_long.
So... is it there any way to do what I want with the actual implementation? Can't see anything relevant in the docs...
Did you try using positional options to parse the 'action' and arguments to it?
I tried, but I couldn't decipher the documentation. IMVHO, it lacks some info about what "positional options" are, their purpose, and how they are intended to be used.
You mean that http://www.meta-comm.com/engineering/resources/cs-win32_metacomm/doc/html/pr... is not sufficiently detailed? I'll try to improve that section, then. - Volodya