summaryrefslogtreecommitdiffstats
path: root/builtin/remote.c
diff options
context:
space:
mode:
authorJunio C Hamano <gitster@pobox.com>2022-09-13 20:38:24 +0200
committerJunio C Hamano <gitster@pobox.com>2022-09-13 20:38:24 +0200
commit76ffa818c792cf3508502f78909c3b7eb3c72dbc (patch)
treea8df035dcafeea7c95ee6405b0bdd536a2393b75 /builtin/remote.c
parentMerge branch 'jk/rev-list-verify-objects-fix' (diff)
parentnotes, remote: show unknown subcommands between `' (diff)
downloadgit-76ffa818c792cf3508502f78909c3b7eb3c72dbc.tar.xz
git-76ffa818c792cf3508502f78909c3b7eb3c72dbc.zip
Merge branch 'sg/parse-options-subcommand'
The codepath for the OPT_SUBCOMMAND facility has been cleaned up. * sg/parse-options-subcommand: notes, remote: show unknown subcommands between `' notes: simplify default operation mode arguments check test-parse-options.c: fix style of comparison with zero test-parse-options.c: don't use for loop initial declaration t0040-parse-options: remove leftover debugging
Diffstat (limited to 'builtin/remote.c')
-rw-r--r--builtin/remote.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/builtin/remote.c b/builtin/remote.c
index 272c7b8d9e..07117e4c9a 100644
--- a/builtin/remote.c
+++ b/builtin/remote.c
@@ -1768,7 +1768,7 @@ int cmd_remote(int argc, const char **argv, const char *prefix)
return !!fn(argc, argv, prefix);
} else {
if (argc) {
- error(_("unknown subcommand: %s"), argv[0]);
+ error(_("unknown subcommand: `%s'"), argv[0]);
usage_with_options(builtin_remote_usage, options);
}
return !!show_all();