From: Jishnu C K Date: Fri, 19 Jun 2026 06:05:52 GMT Subject: Re: [PATCH] help: prompt user to run corrected command on typo Message-ID: <6a34dc40.2c570c9e.381c97.203f@mx.google.com> In-Reply-To: On Thu, Jun 18, 2026, Justin Tobler wrote: > Isn't this already possible via setting `help.autoCorrect=prompt` in the > config? Thank you for the review. You're right that `help.autocorrect=prompt` exists and is similar. Our change differs in two ways: 1. No configuration needed. The existing prompt mode requires the user to explicitly set `help.autocorrect=prompt`. Most users are unaware of this option, so they see a suggestion and must retype the full command manually. Our change makes the interactive prompt the default behaviour when stdin and stderr are a terminal. 2. The prompt includes the original arguments. `help.autocorrect=prompt` shows only: Run 'checkout' instead [y/N]? Our prompt shows the full corrected invocation: Did you mean 'git checkout neo'? [y/N] This lets the user confirm exactly what will run, including their original arguments, before pressing 'y'. If the consensus is that the default should remain non-interactive, we are happy to rework this as an improvement to the existing `autocorrect=prompt` mode (showing args in the prompt) with documentation updates to make the option more discoverable. -- Jishnu C K