summaryrefslogtreecommitdiff
path: root/cmd2.py
diff options
context:
space:
mode:
Diffstat (limited to 'cmd2.py')
-rwxr-xr-xcmd2.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/cmd2.py b/cmd2.py
index 5dee1fd..bf98652 100755
--- a/cmd2.py
+++ b/cmd2.py
@@ -69,7 +69,7 @@ class OptionParser(optparse.OptionParser):
If you override this in a subclass, it should not return -- it
should either exit or raise an exception.
"""
- raise
+ raise optparse.OptParseError(msg)
def remaining_args(oldArgs, newArgList):
'''