Skip to content

du: combining -a/--all and -s/--summarize should fail #11913

Description

@cakebaker

Our implementation currently allows the combination of -a/--all and -s/--summarize whereas GNU du fails:

$ cargo run -q du -s -a
21380772        .
$ echo $?
0

$ du -s -a
du: cannot both summarize and show all entries
Try 'du --help' for more information.
$ echo $?
1

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Fields

    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