File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -41,12 +41,19 @@ \section{\module{getopt} ---
4141be mixed.
4242\end {funcdesc }
4343
44- \begin {excdesc }{error }
44+ \begin {excdesc }{GetoptError }
4545This is raised when an unrecognized option is found in the argument
4646list or when an option requiring an argument is given none.
4747The argument to the exception is a string indicating the cause of the
4848error. For long options, an argument given to an option which does
49- not require one will also cause this exception to be raised.
49+ not require one will also cause this exception to be raised. The
50+ attributes \member {msg} and \member {opt} give the error message and
51+ related option; if there is no specific option to which the exception
52+ relates, \member {opt} is an empty string.
53+ \end {excdesc }
54+
55+ \begin {excdesc }{error}
56+ Alias for \exception {GetoptError}; for backward compatibility.
5057\end {excdesc }
5158
5259
You can’t perform that action at this time.
0 commit comments