Skip to content

Color option is missing #21

Description

@NextThang

The -c, -color option is missing. It's an essential part of iproute2. We should definitely support it!

Activity

  1. naggie commented on May 30, 2018

    @naggie

    This would be great. At least at first, the -c and -color options could be ignored such that aliases don't break.

  2. brona commented on Jun 4, 2018

    @brona
    Owner

    Ignoring shouldn't be a problem to maintain cli compatibility. Will be likely in next release.
    Full feature implementation however seems a bit tricky, I will have to review the underlying commands.

  3. brona commented on Aug 1, 2024

    @brona
    Owner

    Color option is now being ignored for script compatibility, keeping the FR open to implement it for real.

  4. naggie commented on Aug 1, 2024

    @naggie

    Thanks @brona !

  5. silverwind commented on Aug 19, 2024

    @silverwind

    Color option is now being ignored for script compatibility, keeping the FR open to implement it for real.

    Are you sure? I'm still seeing an error with latest version:

    $ ip -c a
    Option "-c" is unknown, try "ip help".
    $ ip -V
    iproute2mac, v1.5.2
    
  6. added a commit that references this issue on Aug 19, 2024
  7. brona commented on Aug 19, 2024

    @brona
    Owner

    Color option is now being ignored for script compatibility, keeping the FR open to implement it for real.

    Are you sure? I'm still seeing an error with latest version:

    $ ip -c a
    Option "-c" is unknown, try "ip help".
    $ ip -V
    iproute2mac, v1.5.2
    

    Thank you for the report, fixied in v1.5.3. -color=never was already being parsed correctly (and ignored), however there was a bug for -c. You can track the release to Homebrew on Homebrew/homebrew-core#181685

  8. luoling8192 commented on Nov 16, 2024

    @luoling8192
    Contributor

    #63 I implemented it already.

  9. luoling8192 commented on Apr 30, 2025

    @luoling8192
    Contributor

    I have a new fork for that, with ss command support.

    https://github.com/luoling8192/iproute2mac-color

  10. added a commit that references this issue on Jul 29, 2025
  11. brona commented on Jul 29, 2025

    @brona
    Owner

    Initial implementation in 0b4bf6b , anyone willing to test from HEAD before release?

  12. angristan commented on Jul 31, 2025

    @angristan

    It looks good 🥳

  13. Nothing4You commented on Jul 31, 2025

    @Nothing4You

    looks great

  14. brona commented on Aug 7, 2025

    @brona
    Owner

    Released as 1.6.0

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions