Sunday, 2 June 2013

Meaning of Capitalization in Y/N Prompts [migrated]

Meaning of Capitalization in Y/N Prompts [migrated]

When running a script that requires a yes or no response before proceeding, does the capitalization of the y and n usually matter?
In this example...
$copy_package some_package
File X is missing...
Do you want to continue ? (y/N) 
I, as a user, expect that N is the recommended answer since it's capitalized (and because a file is missing), and y is not recommended since it's lower-case.

No comments:

Post a Comment