Fix for special characters in Doxygen comments.
Escape "-" characters in the beginning of the paragraph as they are not handled properly by Doxygen otherwise. Escape the space after "i.e." to prevent the brief doc string from being terminated by it. Escape "--" which is translated to a dash by Doxygen otherwise. Closes #15228. git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@74064 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -226,7 +226,7 @@ struct wxCmdLineEntryDesc
|
||||
|
||||
First global option is the support for long (also known as GNU-style)
|
||||
options. The long options are the ones which start with two dashes and look
|
||||
like "--verbose", i.e. they generally are complete words and not some
|
||||
like "\--verbose", i.e. they generally are complete words and not some
|
||||
abbreviations of them. As long options are used by more and more
|
||||
applications, they are enabled by default, but may be disabled with
|
||||
DisableLongOptions().
|
||||
@@ -496,7 +496,7 @@ public:
|
||||
size_t GetParamCount() const;
|
||||
|
||||
/**
|
||||
Parse the command line, return 0 if ok, -1 if @c "-h" or @c "--help"
|
||||
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.
|
||||
|
||||
|
Reference in New Issue
Block a user