The indicator of a negatable option (one with wxCMD_LINE_SWITCH_NEGATABLE
flag) appeared twice in the usage message, don't add it the second time.
Closes #13157.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@67582
c3d73ce0-8a6f-49c7-b76d-
6d57e0e08775
option << (!opt.longName ? wxT(':') : wxT('=')) << val;
}
option << (!opt.longName ? wxT(':') : wxT('=')) << val;
}
if ( !(opt.flags & wxCMD_LINE_OPTION_MANDATORY) )
{
usage << wxT(']');
if ( !(opt.flags & wxCMD_LINE_OPTION_MANDATORY) )
{
usage << wxT(']');