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

fix(inject): Mark paths argument as required #1662

Merged
merged 3 commits into from Jun 28, 2023
Merged

Conversation

loewenheim
Copy link
Contributor

No description provided.

@loewenheim loewenheim self-assigned this Jun 28, 2023
@loewenheim loewenheim enabled auto-merge (squash) June 28, 2023 11:32
@loewenheim loewenheim merged commit 0be7d7e into master Jun 28, 2023
16 checks passed
@loewenheim loewenheim deleted the fix/required-arg branch June 28, 2023 11:35
@@ -23,6 +23,7 @@ pub fn make_command(command: Command) -> Command {
Arg::new("paths")
.value_name("PATHS")
.num_args(1..)
.required(true)
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I thought that num_args does that implicitly... :(

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yup, same.

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.

None yet

4 participants