Skip to content

ls: --dired && --format order does matter #6488

@sylvestre

Description

@sylvestre

There's a bit of a clap issue again here, I believe (but I don't have 9.5 installed yet so I can't check, I'll verify soon). The problem is that we are forcing the long format after all arguments have been processed by clap, whereas even the new GNU version, does it as soon as --dired is encountered. Hence, we'll probably be incompatible in this case:

ls --dired --format=vertical

Because GNU still overrides it but we don't. Not necessarity a super big problem, but something to be aware of. And please do correct me if I'm interpreting this wrong.

Originally posted by @tertsdiepraam in #6144 (review)

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions