Open ThangCZ opened 6 years ago
This would be great. At least at first, the -c
and -color
options could be ignored such that aliases don't break.
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.
Color option is now being ignored for script compatibility, keeping the FR open to implement it for real.
Thanks @brona !
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
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 https://github.com/Homebrew/homebrew-core/pull/181685
The -c, -color option is missing. It's an essential part of iproute2. We should definitely support it!