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

Package flag required even when providing a manifest path #321

Open
fpoli opened this issue Aug 23, 2024 · 1 comment
Open

Package flag required even when providing a manifest path #321

fpoli opened this issue Aug 23, 2024 · 1 comment

Comments

@fpoli
Copy link

fpoli commented Aug 23, 2024

Hi! When running cargo-modules orphan --manifest-path=path/to/package/Cargo.toml in a workspace, the output is the following:

Error: Multiple packages present in workspace,
please explicitly select one via --package flag.

Packages present in workspace:
- foo
- bar
- ...

However, I would expect that when providing the manifest path of a specific package, the --package argument should not be necessary.

@regexident
Copy link
Owner

That's a fair point, indeed. And shouldn't be too hard to fix.
I'm heading off to a few weeks of vacation, but feel free to give it a shot in the meanwhile, if you like.

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