From patchwork Wed Sep 7 10:15:02 2011 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Alon Levy X-Patchwork-Id: 1127502 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by demeter1.kernel.org (8.14.4/8.14.4) with ESMTP id p87GUR8S031079 for ; Wed, 7 Sep 2011 16:30:30 GMT Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752129Ab1IGQ3m (ORCPT ); Wed, 7 Sep 2011 12:29:42 -0400 Received: from mx1.redhat.com ([209.132.183.28]:25089 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751483Ab1IGQ3j (ORCPT ); Wed, 7 Sep 2011 12:29:39 -0400 Received: from int-mx02.intmail.prod.int.phx2.redhat.com (int-mx02.intmail.prod.int.phx2.redhat.com [10.5.11.12]) by mx1.redhat.com (8.14.4/8.14.4) with ESMTP id p87GTXax032588 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK); Wed, 7 Sep 2011 12:29:38 -0400 Received: from bow.redhat.com (vpn-200-125.tlv.redhat.com [10.35.200.125]) by int-mx02.intmail.prod.int.phx2.redhat.com (8.13.8/8.13.8) with ESMTP id p87AGrRm007423; Wed, 7 Sep 2011 06:18:40 -0400 From: Alon Levy To: autotest@test.kernel.org Cc: kvm@vger.kernel.org Subject: [PATCH] client/bin/autotest: mention control file in usage message Date: Wed, 7 Sep 2011 13:15:02 +0300 Message-Id: <1315390502-15730-1-git-send-email-alevy@redhat.com> X-Scanned-By: MIMEDefang 2.67 on 10.5.11.12 Sender: kvm-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: kvm@vger.kernel.org X-Greylist: IP, sender and recipient auto-whitelisted, not delayed by milter-greylist-4.2.6 (demeter1.kernel.org [140.211.167.41]); Wed, 07 Sep 2011 16:30:30 +0000 (UTC) Signed-off-by: Alon Levy --- client/bin/autotest | 3 ++- 1 files changed, 2 insertions(+), 1 deletions(-) diff --git a/client/bin/autotest b/client/bin/autotest index af521de..c84b771 100755 --- a/client/bin/autotest +++ b/client/bin/autotest @@ -21,7 +21,7 @@ os.environ['AUTODIR'] = autodir os.environ['AUTODIRBIN'] = autodirbin os.environ['PYTHONPATH'] = autodirbin -parser = OptionParser() +parser = OptionParser(usage='Usage: %prog [options] ') parser.add_option("-a", "--args", dest='args', help="additional args to pass to control file") @@ -76,6 +76,7 @@ options, args = parser.parse_args() # Check for a control file if not in prebuild mode. if len(args) != 1 and options.client_test_setup is None: + print "missing control file." usage() drop_caches = global_config.global_config.get_config_value('CLIENT',