Skip to content

cli: use uucore::crate_version! for the version string #180

@sylvestre

Description

@sylvestre

src/shadow-core/src/cli.rs:13 builds the VERSION string from env!("CARGO_PKG_VERSION"). Switch to uucore::crate_version! for consistency with the rest of the uutils ecosystem.

Fix

Replace the env! with uucore::crate_version!only if --version output stays byte-identical.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions