commit | 6c00a01526f56a6b6071e8e0a529eafee4ff60ea | [log] [tgz] |
---|---|---|
author | Jim Ingham <jingham@apple.com> | Thu Feb 21 18:38:46 2013 +0000 |
committer | Jim Ingham <jingham@apple.com> | Thu Feb 21 18:38:46 2013 +0000 |
tree | 6fa41952d85412e58b56f21834cf0323117d27f0 | |
parent | ab28b9ae7324bf4cfe9c830eabcfd9f2e0ccff53 [diff] [blame] |
Mark the command as failed if parsing fails. llvm-svn: 175776
diff --git a/lldb/examples/python/cmdtemplate.py b/lldb/examples/python/cmdtemplate.py index eec1d37..dc8e6b1 100644 --- a/lldb/examples/python/cmdtemplate.py +++ b/lldb/examples/python/cmdtemplate.py
@@ -38,6 +38,7 @@ try: (options, args) = parser.parse_args(command_args) except: + result.SetStatus (lldb.eReturnStatusFailed) return for arg in args: