From: Derrick Stolee <stolee@gmail.com>
To: Jeff King <peff@peff.net>, git@vger.kernel.org
Subject: Re: [PATCH] test-tool: show tool list on error
Date: Wed, 17 Oct 2018 09:02:51 -0400 [thread overview]
Message-ID: <b8791c01-05be-20aa-f4e9-40eaa547f1c8@gmail.com> (raw)
In-Reply-To: <20181017092506.GA15503@sigill.intra.peff.net>
On 10/17/2018 5:25 AM, Jeff King wrote:
> Before we switched to one big test-tool binary, if you
> forgot the name of a tool, you could use tab-completion in
> the shell to get a hint. But these days, all you get is:
>
> $ t/helper/test-tool approxidate
> fatal: There is no test named 'approxidate'
>
> and you're stuck reading the source code to find it. Let's
> print a list of the available tools in this case.
>
> Signed-off-by: Jeff King <peff@peff.net>
> ---
> Not really user-facing, but this bugged me enough earlier to write the
> patch. ;)
>
> Some of the individual tools have nice help, too (try
> "t/helper/test-tool date", which shows the approxidate command I was
> looking for), but some of them could probably stand to improve their
> friendliness (try "t/helper/test-tool config"). I think it's fine for
> people to improve them over time if and when they get annoyed.
This will improve contributors' lives! Thanks.
Reviewed-by: Derrick Stolee <dstolee@microsoft.com>
prev parent reply other threads:[~2018-10-17 13:02 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-10-17 9:25 [PATCH] test-tool: show tool list on error Jeff King
2018-10-17 13:02 ` Derrick Stolee [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=b8791c01-05be-20aa-f4e9-40eaa547f1c8@gmail.com \
--to=stolee@gmail.com \
--cc=git@vger.kernel.org \
--cc=peff@peff.net \
/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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).