/**
Returns @true if long options are enabled, otherwise @false.
-
+
@see EnableLongOptions()
*/
bool AreLongOptionsEnabled() const;
Enable or disable support for the long options.
As long options are not (yet) POSIX-compliant, this option allows to disable
them.
-
+
@see Customization() and AreLongOptionsEnabled()
*/
void EnableLongOptions(bool enable = true);
value in the provided pointer (which should not be @NULL).
*/
bool Found(const wxString& name) const;
- const bool Found(const wxString& name, wxString* value) const;
- const bool Found(const wxString& name, long* value) const;
- const bool Found(const wxString& name, wxDateTime* value) const;
+ bool Found(const wxString& name, wxString* value) const;
+ bool Found(const wxString& name, long* value) const;
+ bool Found(const wxString& name, double* value) const;
+ bool Found(const wxString& name, wxDateTime* value) const;
//@}
/**
Parse the command line, return 0 if ok, -1 if @c "-h" or @c "--help"
option was encountered and the help message was given or a positive value if a
syntax error occurred.
-
+
@param giveUsage
If @true (default), the usage message is given if a
syntax error was encountered while parsing the command line or if help was
Give the standard usage message describing all program options. It will use the
options and parameters descriptions specified earlier, so the resulting message
will not be helpful to the user unless the descriptions were indeed specified.
-
+
@see SetLogo()
*/
void Usage() const;