[PATCH/RFC 1/2] describe: mention glob in the --matches help text
- From
- Mostyn Bramley-Moore <mostynb@opera.com>
- Date
- Dec 27, 2015, 22:59 UTC
- Message-ID
- <1451257192-5755-2-git-send-email-mostynb@opera.com>
- In-Reply-To
- <1451257192-5755-1-git-send-email-mostynb@opera.com>
This saves the user from needing to consult to manpage to learn the format of the --matches argument.
Signed-off-by: Mostyn Bramley-Moore <mostynb@opera.com> --- builtin/describe.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/builtin/describe.c b/builtin/describe.c index 8a25abe..2386c64 100644 --- a/builtin/describe.c +++ b/builtin/describe.c @@ -404,8 +404,8 @@ int cmd_describe(int argc, const char **argv, const char *prefix) N_("only output exact matches"), 0), OPT_INTEGER(0, "candidates", &max_candidates, N_("consider <n> most recent tags (default: 10)")), - OPT_STRING(0, "match", &pattern, N_("pattern"), - N_("only consider tags matching <pattern>")), + OPT_STRING(0, "match", &pattern, N_("glob"), + N_("only consider tags matching <glob>")), OPT_BOOL(0, "always", &always, N_("show abbreviated commit object as fallback")), {OPTION_STRING, 0, "dirty", &dirty, N_("mark"),
-- 2.5.0