diff options
author | David Robillard <d@drobilla.net> | 2015-04-04 09:27:49 +0000 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2015-04-04 09:27:49 +0000 |
commit | 9c5ad6b64f33ea07654435e93a8b6f726894581f (patch) | |
tree | cd83370c2a06707dff0b731c084741a737d5b972 /ingen | |
parent | 52bce39f06f607dd363ca8f3b774fda658036cf4 (diff) | |
download | ingen-9c5ad6b64f33ea07654435e93a8b6f726894581f.tar.gz ingen-9c5ad6b64f33ea07654435e93a8b6f726894581f.tar.bz2 ingen-9c5ad6b64f33ea07654435e93a8b6f726894581f.zip |
Support GNU style long options.
Update usage output and man page to distinguish flags from options
that take a value.
git-svn-id: http://svn.drobilla.net/lad/trunk/ingen@5660 a436a847-0d15-0410-975c-d299462d15a1
Diffstat (limited to 'ingen')
-rw-r--r-- | ingen/Configuration.hpp | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/ingen/Configuration.hpp b/ingen/Configuration.hpp index a9087ea6..28b6a19d 100644 --- a/ingen/Configuration.hpp +++ b/ingen/Configuration.hpp @@ -115,8 +115,6 @@ public: const Atom& option(const std::string& long_name) const; bool set(const std::string& long_name, const Atom& value); - const std::list<std::string>& files() const { return _files; } - private: struct Option { public: @@ -146,7 +144,8 @@ private: typedef std::map<std::string, Option> Options; typedef std::map<char, std::string> ShortNames; typedef std::map<std::string, std::string> Keys; - typedef std::list<std::string> Files; + + std::string variable_string(LV2_URID type) const; int set_value_from_string(Configuration::Option& option, const std::string& value) @@ -158,7 +157,6 @@ private: Options _options; Keys _keys; ShortNames _short_names; - Files _files; size_t _max_name_length; }; |