8000 When prompting for a user yes/no answer, use a short [y/n] representation · Issue #181 · chocolatey/choco · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content
When prompting for a user yes/no answer, use a short [y/n] representation #181
Closed
@christianrondeau

Description

@christianrondeau

Here is how yes/no/skip answers are displayed:

Do you want to run the script?
NOTE: If you choose not to run the script, the installation will
fail.
Skip is an advanced option and most likely will never be wanted.

1) yes
2) no [Default - Press Enter]
3) skip

Here is a suggestion of how the prompt could look like:

Do you want to run the script? (Yes/No/Skip): y

In other words: when asking for a yes/no question, use the shorthand, similar to other windows command line tools.

Example:

  • xcopy: Overwrite C:\path\file.txt (Yes/No/All)?

For more information: https://groups.google.com/forum/#!topic/chocolatey/UVncL7PxXRg

(Moved from chocolatey-archive/chocolatey#689)

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions

    0