When is it appropriate to require the user to type out the entire word “yes” rather than simply accept “y” at a command-line yes/no prompt?
I've seen several command-line applications, including OpenSSH, which require the user to type the entire word yes or no at a yes/no prompt, rejecting single-letter inputs like y. Here's an example: ...
In text-based environments, I've sometimes seen confirmation prompts in the form of Are you sure you want to _______? (Y/n) Generally, I've understood this to mean that Y is the default, and if I ...