netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH iproute2] Add information about COLORFGBG to ip.8 man page
@ 2017-09-15 20:04 Roland Hopferwieser
  2017-09-21  0:56 ` Stephen Hemminger
  0 siblings, 1 reply; 3+ messages in thread
From: Roland Hopferwieser @ 2017-09-15 20:04 UTC (permalink / raw)
  To: netdev


diff --git a/man/man8/ip.8 b/man/man8/ip.8
index ae018fdf..2a27a56e 100644
--- a/man/man8/ip.8
+++ b/man/man8/ip.8
@@ -187,7 +187,8 @@ executes specified command over all objects, it 
depends if command supports this

  .TP
  .BR "\-c" , " -color"
-Use color output.
+Use color output. The color palette is affected by the COLORFGBG 
environment variable, which typically has the form "fg;bg".
+If "bg" is set to 0-6 or 8, the dark color palette is used.

  .TP
  .BR "\-t" , " \-timestamp"

^ permalink raw reply related	[flat|nested] 3+ messages in thread

* Re: [PATCH iproute2] Add information about COLORFGBG to ip.8 man page
  2017-09-15 20:04 [PATCH iproute2] Add information about COLORFGBG to ip.8 man page Roland Hopferwieser
@ 2017-09-21  0:56 ` Stephen Hemminger
  2017-09-26 23:46   ` Roland Hopferwieser
  0 siblings, 1 reply; 3+ messages in thread
From: Stephen Hemminger @ 2017-09-21  0:56 UTC (permalink / raw)
  To: Roland Hopferwieser; +Cc: netdev

On Fri, 15 Sep 2017 22:04:16 +0200
Roland Hopferwieser <rhopfer@ica.jku.at> wrote:

> diff --git a/man/man8/ip.8 b/man/man8/ip.8
> index ae018fdf..2a27a56e 100644
> --- a/man/man8/ip.8
> +++ b/man/man8/ip.8
> @@ -187,7 +187,8 @@ executes specified command over all objects, it 
> depends if command supports this
> 
>   .TP
>   .BR "\-c" , " -color"
> -Use color output.
> +Use color output. The color palette is affected by the COLORFGBG 
> environment variable, which typically has the form "fg;bg".
> +If "bg" is set to 0-6 or 8, the dark color palette is used.
> 
>   .TP
>   .BR "\-t" , " \-timestamp"

Your patch was damaged by the mailer you used.
Please fix and resubmit.

$ patch -p1 < ~/Downloads/iproute2-Add-information-about-COLORFGBG-to-ip.8-man-page.patch 
patching file man/man8/ip.8
patch: **** malformed patch at line 23: depends if command supports this

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [PATCH iproute2] Add information about COLORFGBG to ip.8 man page
  2017-09-21  0:56 ` Stephen Hemminger
@ 2017-09-26 23:46   ` Roland Hopferwieser
  0 siblings, 0 replies; 3+ messages in thread
From: Roland Hopferwieser @ 2017-09-26 23:46 UTC (permalink / raw)
  To: Stephen Hemminger; +Cc: netdev

[-- Attachment #1: Type: text/plain, Size: 103 bytes --]

> Your patch was damaged by the mailer you used.
> Please fix and resubmit.

Sorry, now as attachment.

[-- Attachment #2: iproute2-Add-information-about-COLORFGBG-to-ip.8-man-page.patch --]
[-- Type: text/x-patch, Size: 487 bytes --]

diff --git a/man/man8/ip.8 b/man/man8/ip.8
index ae018fdf..2a27a56e 100644
--- a/man/man8/ip.8
+++ b/man/man8/ip.8
@@ -187,7 +187,8 @@ executes specified command over all objects, it depends if command supports this
 
 .TP
 .BR "\-c" , " -color"
-Use color output.
+Use color output. The color palette is affected by the COLORFGBG environment variable, which typically has the form "fg;bg".
+If "bg" is set to 0-6 or 8, the dark color palette is used.
 
 .TP
 .BR "\-t" , " \-timestamp"

^ permalink raw reply related	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2017-09-26 23:46 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-09-15 20:04 [PATCH iproute2] Add information about COLORFGBG to ip.8 man page Roland Hopferwieser
2017-09-21  0:56 ` Stephen Hemminger
2017-09-26 23:46   ` Roland Hopferwieser

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).