Skip to content

Package flag required even when providing a manifest path #321

@fpoli

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.

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