projects
/
platform
/
upstream
/
llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ab28b9a
)
Mark the command as failed if parsing fails.
author
Jim Ingham
<jingham@apple.com>
Thu, 21 Feb 2013 18:38:46 +0000
(18:38 +0000)
committer
Jim Ingham
<jingham@apple.com>
Thu, 21 Feb 2013 18:38:46 +0000
(18:38 +0000)
llvm-svn: 175776
lldb/examples/python/cmdtemplate.py
patch
|
blob
|
history
diff --git
a/lldb/examples/python/cmdtemplate.py
b/lldb/examples/python/cmdtemplate.py
index
eec1d37
..
dc8e6b1
100644
(file)
--- a/
lldb/examples/python/cmdtemplate.py
+++ b/
lldb/examples/python/cmdtemplate.py
@@
-38,6
+38,7
@@
def ls(debugger, command, result, dict):
try:
(options, args) = parser.parse_args(command_args)
except:
+ result.SetStatus (lldb.eReturnStatusFailed)
return
for arg in args: