diff options
author | Junio C Hamano <gitster@pobox.com> | 2022-01-05 14:01:29 -0800 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2022-01-05 14:01:29 -0800 |
commit | a16548404789771fd3ee69f301893a08ef268bb2 (patch) | |
tree | bbef9b41e5cc3f236c1ce0e8cea082f690a04575 /help.c | |
parent | d9fc3a987b9611fa6b71e38768657b10f84fef7f (diff) | |
parent | 0fc8ed154cd9f110e8234cd54aa9324182978d26 (diff) |
Merge branch 'km/help-prompt-fix'
Among some code paths that ask an yes/no question, only one place
gave a prompt that looked different from the others, which has been
updated to match what the others create.
* km/help-prompt-fix:
help: make auto-correction prompt more consistent
Diffstat (limited to 'help.c')
-rw-r--r-- | help.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -643,7 +643,7 @@ const char *help_unknown_cmd(const char *cmd) else if (autocorrect == AUTOCORRECT_PROMPT) { char *answer; struct strbuf msg = STRBUF_INIT; - strbuf_addf(&msg, _("Run '%s' instead? (y/N)"), assumed); + strbuf_addf(&msg, _("Run '%s' instead [y/N]? "), assumed); answer = git_prompt(msg.buf, PROMPT_ECHO); strbuf_release(&msg); if (!(starts_with(answer, "y") || |