The default syntax for Boost::Program_Options is “–DEVICE iphone”. How can I support syntax “-DEVICE:iphone” or “-DEVICE=iphone”?
The default syntax for Boost::Program_Options is –DEVICE iphone. How can I support syntax -DEVICE:iphone
Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
Boost.Program_Options has a pretty large number of option styles. The particular combination you seem to be going for would be:
These options should be given to the
stylefunction of your command line parser: