Boost logo

Boost Users :

Subject: [Boost-users] [Program Options]
From: Björn Pollex (bjoern_at_[hidden])
Date: 2009-06-03 09:32:10


Hi everyone !

Is there a simple way to make the command line parser throw an error
when an option is not specified ? This way i would not have to check
this in my code. My program requires the user to specify an input
file, and if he doesn't, an error should be displayed. So, is there
any support for mandatory parameters (they wouldn't really be options
if they are mandatory) ?

wbr

    Bjoern Pollex


Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net