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 | Merge branch 'jv/use-larger-buffer-in-upload-pack' (diff) | |
| parent | help: make auto-correction prompt more consistent (diff) | |
| download | git-a16548404789771fd3ee69f301893a08ef268bb2.tar.gz git-a16548404789771fd3ee69f301893a08ef268bb2.zip | |
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") || |
