Function getOption
Finds and reads an option from the configuration file or command line.
Command line options take precedence over configuration file entries.
Prototype
bool getOption(T)(string names, T* pvalue, string help_text)( string names, ReturnTypeString.T* pvalue, string help_text );
Parameters
Name | Description |
---|---|
names | Option names . Separate multiple name variants with "|",
as for std.getopt. |
pvalue | Pointer to store the value. Unchanged if value was not found. |
Returns
true if the value was found, false otherwise.
Authors
Sönke Ludwig, Vladimir Panteleev
Copyright
© 2012 RejectedSoftware e.K.
License
Subject to the terms of the MIT license, as written in the included LICENSE.txt file.