Mark the command as failed if parsing fails.
llvm-svn: 175776
This commit is contained in:
parent
ab28b9ae73
commit
6c00a01526
@ -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:
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user