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: