From philipp.eichmann at gmail.com Wed Nov 30 10:21:55 2011 From: philipp.eichmann at gmail.com (Philipp Eichmann) Date: Thu Dec 1 07:45:27 2011 Subject: [cli-users] unset option Message-ID: Hi I have the following definitions in my options file: std::string -d | --directory { "", "bla" }; std::string -z { "", "blu" }; If I launch the application with "./myapp -d -z test" and print option -d with options.d(), I get the string "-z" as result. Which is obivously wrong since -d should not be set or empty. How would I have to handle options for which no values are provided and other options follow? Thx!