• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/amule/wxWidgets-2.8.12/src/common/

Lines Matching refs:option

61 // an internal representation of an option
72 _T("option should have at least one name") );
77 wxT("Short option contains invalid characters")
83 wxT("Long option contains invalid characters")
176 wxString m_switchChars; // characters which may start an option
386 wxCmdLineOption *option = new wxCmdLineOption(wxCMD_LINE_SWITCH,
390 m_data->m_options.Add(option);
400 _T("duplicate option") );
402 wxCmdLineOption *option = new wxCmdLineOption(wxCMD_LINE_OPTION,
406 m_data->m_options.Add(option);
461 wxCHECK_MSG( i != wxNOT_FOUND, false, _T("unknown option") );
480 wxCHECK_MSG( i != wxNOT_FOUND, false, _T("unknown option") );
500 wxCHECK_MSG( i != wxNOT_FOUND, false, _T("unknown option") );
543 bool maybeOption = true; // can the following arg be an option?
572 // empty argument or just '-' is not an option but a parameter
580 // an option or a switch: find whether it's a long or a short one
598 errorMsg << wxString::Format(_("Unknown long option '%s'"), name.c_str())
608 errorMsg << wxString::Format(_("Unknown option '%s'"), name.c_str())
613 else // not a long option
618 // longest substring which is a valid option
628 // we couldn't find a valid option name in the
630 errorMsg << wxString::Format(_("Unknown option '%s'"), name.c_str())
648 // first of all, the option name is only part of this
652 // our option is only part of this argument, there is
654 // option or other switches if it is a switch
691 errorMsg << wxString::Format(_("Unexpected characters following option '%s'."), name.c_str())
709 else // it's an option. not a switch
722 else // short option
752 // not depending on the option style
755 errorMsg << wxString::Format(_("Separator expected after the option '%s'."),
770 wxFAIL_MSG( _T("unknown option type") );
786 errorMsg << wxString::Format(_("'%s' is not a correct numeric value for option '%s'."),
819 else // not an option, must be a parameter
881 errorMsg << wxString::Format(_("The value for the option '%s' must be specified."),
1005 wxFAIL_MSG( wxT("option with only a long name while long ")
1010 wxFAIL_MSG( _T("option without neither short nor long name") );
1014 wxString option;
1018 option << _T(" ") << chSwitch << opt.shortName;
1023 option << (option.empty() ? _T(" ") : _T(", "))
1032 option << (!opt.longName ? _T(':') : _T('=')) << val;
1040 namesOptions.push_back(option);
1102 wxFAIL_MSG( _T("unknown option type") );
1146 // A short option additionally can have these
1149 // A long option can have the same characters as a short option and a '-'.