Skip to content

Package flag required even when providing a manifest path #321

Description

@fpoli

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.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions