Skip to content

coreutils: --list --help is not compatible with busybox #11383

@oech3

Description

@oech3

match util {
"--list" => {
// If --help is also present, show usage instead of list
if args.any(|arg| arg == "--help" || arg == "-h") {
usage(&utils, binary_as_util);
process::exit(0);
}
let utils: Vec<_> = utils.keys().collect();
for util in utils {
println!("{util}");
}
process::exit(0);
}

But busybox do same things with --list at --list --help. We should remove it.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No 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