Skip to content

Rust uptime shadows GNU uptime but does not support standard options like -p #10941

@hitobashira

Description

@hitobashira

The Rust implementation replaces GNU uptime in PATH but rejects common options such as -p, breaking existing scripts and expected coreutils compatibility.
It should either fully match GNU uptime’s CLI behavior or avoid being installed as a drop-in replacement.

error: unexpected argument '-p' found
  tip: to pass '-p' as a value, use '-- -p'
Usage: uptime [OPTION]...

ZiSH from Zipang.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions