Skip to content

'Expect argument for flag' shows Debug instead of Display output #1553

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

Closed
seanmonstar opened this issue Apr 28, 2015 · 1 comment
Closed

Comments

@seanmonstar
Copy link

Example:

$ cargo build --features
Expected argument for flag 'Long("features")' but reached end of arguments.

Usage:
    cargo build [options]

I suspect this is a case of using {:?} instead of {} in the error message.

@alexcrichton
Copy link
Member

I believe that this will be fixed in the next docopt upgrade which is currently blocked, so I'm going to close this as it should be fixed regardless soon!

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