Boost logo

Boost Users :

From: james.jones_at_[hidden]
Date: 2005-12-20 08:36:00

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

Boost-users list run by williamkempf at, kalb at, bjorn.karlsson at, gregod at, wekempf at