From: Lucas Meneghel Rodrigues <lmr@redhat.com>
To: Alon Levy <alevy@redhat.com>
Cc: autotest@test.kernel.org, kvm@vger.kernel.org
Subject: Re: [PATCH] client/bin/autotest: mention control file in usage message
Date: Wed, 07 Sep 2011 13:40:22 -0300 [thread overview]
Message-ID: <4E679E76.7020106@redhat.com> (raw)
In-Reply-To: <1315390502-15730-1-git-send-email-alevy@redhat.com>
On 09/07/2011 07:15 AM, Alon Levy wrote:
> Signed-off-by: Alon Levy<alevy@redhat.com>
Looks good to me, applied, thanks!
http://autotest.kernel.org/changeset/5575
> ---
> 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]<control-file>')
>
> 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',
prev parent reply other threads:[~2011-09-07 16:40 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-09-07 10:15 [PATCH] client/bin/autotest: mention control file in usage message Alon Levy
2011-09-07 16:40 ` Lucas Meneghel Rodrigues [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=4E679E76.7020106@redhat.com \
--to=lmr@redhat.com \
--cc=alevy@redhat.com \
--cc=autotest@test.kernel.org \
--cc=kvm@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.