GetCommandObject returns no matches in the match array when there is only one match.  That's odd, but I don't want to change that right now, just cope with it where I'm doing the command matching.


git-svn-id: https://llvm.org/svn/llvm-project/llvdb/trunk@120511 91177308-0d34-0410-b5e6-96231b3b80d8
diff --git a/source/Commands/CommandObjectHelp.cpp b/source/Commands/CommandObjectHelp.cpp
index 7d52674..416bdd5 100644
--- a/source/Commands/CommandObjectHelp.cpp
+++ b/source/Commands/CommandObjectHelp.cpp
@@ -94,7 +94,7 @@
                                                                                               &matches);
                     if (found_cmd == NULL)
                         all_okay = false;
-                    else if (matches.GetSize() != 1)
+                    else if (matches.GetSize() > 1)
                         all_okay = false;
                     else
                         sub_cmd_obj = found_cmd;