@matheusbsbs / matheus-bagliano / commits / 8b656572ca
Fork 0

builtin/commit-graph.c: remove subcommand-less usage string

The first line in 'git commit-graph's usage string indicates that this command can be invoked without specifying a subcommand. However, this is not the case: $ git commit-graph usage: git commit-graph [--object-dir <objdir>] or: git commit-graph read [--object-dir <objdir>] [...] $ echo $? 129 Remove this line from the usage string. The synopsis in the manpage doesn't contain this line. Signed-off-by: SZEDER Gábor <szeder.dev@gmail.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>

SZEDER Gábor committed Oct 25, 2019 at 18:49 UTC 8b656572ca1d5b4e917b7bf835c95ddb50a5282a
1 file changed -1
builtin/commit-graph.c
-1
@@ -8,7 +8,6 @@
8 #include "object-store.h"
9
10 static char const * const builtin_commit_graph_usage[] = {
11 - N_("git commit-graph [--object-dir <objdir>]"),
11 N_("git commit-graph read [--object-dir <objdir>]"),
12 N_("git commit-graph verify [--object-dir <objdir>] [--shallow]"),
13 N_("git commit-graph write [--object-dir <objdir>] [--append|--split] [--reachable|--stdin-packs|--stdin-commits] <split options>"),