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

Re-add "--help" to rustpkg #11430

Closed
wants to merge 1 commit into from
Closed

Re-add "--help" to rustpkg #11430

wants to merge 1 commit into from

Conversation

ghost
Copy link

@ghost ghost commented Jan 10, 2014

The help options were lost when the argument parsing was moved to its own file.

I think I followed everything in the contribution instructions, but this is my first pull request, so let me know if I need to change anything or just close it.

The help options were lost when the argument parsing was moved to its own file. This adds them back and closes #11423
@alexcrichton
Copy link
Member

This appears to accept the options, but it doesn't look like it ever actually processes the option? If you run rustpkg --help, what happens?

@ghost ghost closed this Jan 10, 2014
@ghost ghost deleted the rustpkg_fix branch January 10, 2014 01:53
@ghost
Copy link
Author

ghost commented Jan 10, 2014

Yeah it appears to break rustpkg even further and out of my depth. Sorry for not testing further. Thought it was an easy fix, but I'll let someone else take it and close this. Sorry again =(

@alexcrichton
Copy link
Member

No problem! I know that the functionality still exists somewhere to print out all the help info, though. I'd recommend tracking backwards to the commit that shuffled args around and see how it got removed.

flip1995 pushed a commit to flip1995/rust that referenced this pull request Sep 7, 2023
Correctly format `vec!` invocations

The [Rust Style Guide](https://doc.rust-lang.org/nightly/style-guide/expressions.html?highlight=vec#array-literals) says that `vec!` should alwys be used with square brackets, not parenthesis. Within the lint documentation, that rule was violated twice.

changelog: none
This pull request was closed.
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

Successfully merging this pull request may close these issues.

1 participant