Change default behavior of query results to print an error instead of
listing all results.

Signed-off-by: Ryan Kubiak <rkubiak@google.com>



git-svn-id: http://test.kernel.org/svn/autotest/trunk@1969 592f7852-d20e-0410-864c-8624ca9c26a4
diff --git a/cli/query_results b/cli/query_results
index b6c2612..eaf3a71 100755
--- a/cli/query_results
+++ b/cli/query_results
@@ -30,6 +30,9 @@
 
 (options, args) = parser.parse_args()
 
+if not options.condition:
+    parser.error('You must specify at least one condition.')
+
 columns = options.columns.split(',')
 
 url_prefix = rpc.get_autotest_server() + '/results/'