Skip to content

Incorrectly formatted help message #90

@ZeroErrors

Description

@ZeroErrors

As mentioned in: #86 (comment)

While experimenting with this I just noticed that the help generated by the CLI parser is off, but that can be addressed separately:

# cargo size --bin
error: The argument '--bin <NAME>' requires a value but none was supplied

USAGE:
    cargo-size <binary-name> --bin <NAME>

For more information try --help

The <binary-name> shouldn't exist in the output. Its currently used so that parsing is valid but its set to hidden so shouldn't be displayed, could be a bug in clap? more investigation needed.

Arg::with_name("binary-name").hidden(true),

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions