boost::program_options: How to specify a command without "--" or "-"

Viewed 3924

I'm using boost::program_options to implement a command-line utility with this syntax:

myutil command [--in file_name] [---out file_name]

where 'command' is mandatory, and is one of the following:

read | write | find | version | help

the thing is that 'command' should not require -- or - and I have not found how to do that with boost::program_options.

1 Answers
Related