20 Dec
2005
20 Dec
'05
1:36 p.m.
Marshall Clow wrote:
The other one is that program_options, by default, wants to use double hyphens to define options: "foo --option1 --option2"
I'm a lot more comfortable with single hyphens: "foo -option1 -option2"
I don't know about your other problem, but using single hyphens with long options is nonstandard. In most *nix programs, -option1 means the same thing as -o ption1, i.e. a -o with the argument "ption1". Whereas --option1 means what it says. Single hyphens are reserved for single-letter options. - James Jones Administrative Data Mgmt. (v)732-510-1806 375 Raritan Center Pkwy, Suite A (f)732-510-1855 Edison, NJ 08837 Visit us on the web at http://www.firstinvestors.com/