mirror of
https://git.proxmox.com/git/mirror_iproute2
synced 2025-10-17 11:53:52 +00:00
Merge branch 'iproute2-master' into next
Signed-off-by: David Ahern <dsahern@gmail.com>
This commit is contained in:
commit
be029b3a58
@ -189,6 +189,12 @@ precedence. This flag is ignored if
|
||||
.B \-json
|
||||
is also given.
|
||||
|
||||
Used color palette can be influenced by
|
||||
.BR COLORFGBG
|
||||
environment variable
|
||||
(see
|
||||
.BR ENVIRONMENT ).
|
||||
|
||||
.TP
|
||||
.BR "\-t" , " \-timestamp"
|
||||
display current time when using monitor option.
|
||||
@ -330,6 +336,17 @@ Usually it is
|
||||
or, if the objects of this class cannot be listed,
|
||||
.BR "help" .
|
||||
|
||||
.SH ENVIRONMENT
|
||||
.TP
|
||||
.B COLORFGBG
|
||||
If set, it's value is used for detection whether background is dark or light and use contrast colors for it.
|
||||
|
||||
COLORFGBG environment variable usually contains either two or three
|
||||
values separated by semicolons; we want the last value in either case.
|
||||
If this value is 0-6 or 8, chose colors suitable for dark background:
|
||||
|
||||
COLORFGBG=";0" ip -c a
|
||||
|
||||
.SH EXIT STATUS
|
||||
Exit status is 0 if command was successful, and 1 if there is a syntax error.
|
||||
If an error was reported by the kernel exit status is 2.
|
||||
|
@ -84,6 +84,6 @@ done:
|
||||
}
|
||||
|
||||
struct m_pedit_util p_pedit_ip6 = {
|
||||
.id = "ipv6",
|
||||
.id = "ip6",
|
||||
.parse_peopt = parse_ip6,
|
||||
};
|
||||
|
Loading…
Reference in New Issue
Block a user