Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add option to wait for user confirmation after displaying help #140

Closed
sirideain opened this issue Jun 26, 2015 · 2 comments
Closed

Add option to wait for user confirmation after displaying help #140

sirideain opened this issue Jun 26, 2015 · 2 comments
Assignees
Milestone

Comments

@sirideain
Copy link

On Windows a user is most likely going to double-click the executable to run it. That causes the help to display and the program to close before the user is able to read it. Providing an option to wait for confirmation would keep the cmd prompt open for the user.

@kbknapp
Copy link
Member

kbknapp commented Jun 27, 2015

That's a good idea. I think I'm going to do this by adding a more general .wait_on_err() since you can also "hard code" command line arguments into windows shortcuts and there may be times one if them causes an error the user needs to see (missing file, etc).

I'm on vacation for the next few days but I'll implement this as soon as I get back. Thanks! 👍

@kbknapp kbknapp self-assigned this Jun 27, 2015
@kbknapp kbknapp added this to the 1.0 Release milestone Jun 27, 2015
kbknapp added a commit that referenced this issue Jun 30, 2015
@kbknapp
Copy link
Member

kbknapp commented Jun 30, 2015

This has been added in 1.0.0-beta on crates.io or master here on github :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants