Mark the command as failed if parsing fails.

llvm-svn: 175776
This commit is contained in:
Jim Ingham
2013-02-21 18:38:46 +00:00
parent ab28b9ae73
commit 6c00a01526

View File

@@ -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: