tools: bugfix: main: print usage with no parameters

If the command isn't yet (the case with no parameters or missing the key
one), print the usage message and exit.

Change-Id: I1e708abfbe3d369d32c96e5d2b88fd069b366396
Signed-off-by: Patrick Venture <venture@google.com>
diff --git a/tools/main.cpp b/tools/main.cpp
index b85f62b..eafa162 100644
--- a/tools/main.cpp
+++ b/tools/main.cpp
@@ -119,6 +119,12 @@
         }
     }
 
+    if (command.empty())
+    {
+        usage(argv[0]);
+        exit(EXIT_FAILURE);
+    }
+
     /* They want to update the firmware. */
     if (command == "update")
     {