Take the 2-minute tour ×
User Experience Stack Exchange is a question and answer site for user experience researchers and experts. It's 100% free, no registration required.

This issue came while 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.

Note - This question isn't about what this actually means in regards the code, but whether or not the act of capitalization itself in this manner intentionally acts as a recommendation for which option to take.

share|improve this question

migrated from programmers.stackexchange.com Jun 3 '13 at 1:54

This question came from our site for professional programmers interested in conceptual questions about software development.

    
As it stands, this question should better be moved to unix.stackexchange.com –  unor Jun 4 '13 at 20:09
    
I think this belongs on ux.se. The question title relates to a UX issue. I'll amend the wording so that it removes some of the confusion, but as a concept it is 'does capitalizing a letter act as a recommended option'. With scripting you have such a limited UI that there's not much else you can do to give emphasis to elements. –  JonW Jun 4 '13 at 21:01

1 Answer 1

up vote 11 down vote accepted

Usually the option in capitals is the default. The default will be used if Enter is pressed.

share|improve this answer
    
I had no idea this was the case. Mysterious are the ways of the command console... –  Dvir Adler Jun 3 '13 at 11:18

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.