docs: document the --color-scheme option
authorMarkus Lehtonen <markus.lehtonen@linux.intel.com>
Thu, 8 May 2014 13:19:19 +0000 (16:19 +0300)
committerGuido Günther <agx@sigxcpu.org>
Thu, 5 Jun 2014 17:19:00 +0000 (19:19 +0200)
Signed-off-by: Markus Lehtonen <markus.lehtonen@linux.intel.com>
docs/manpages/gbp-buildpackage.sgml
docs/manpages/gbp-config.sgml
docs/manpages/gbp-pq.sgml

index ea578e2..79fb81d 100644 (file)
@@ -24,6 +24,7 @@
       <arg><option>--git-tag</option></arg>
       <arg><option>--git-verbose</option></arg>
       <arg><option>--git-color=</option><replaceable>[auto|on|off]</replaceable></arg>
+      <arg><option>--git-color-scheme</option>=<replaceable>COLOR_SCHEME</replaceable></arg>
       <arg><option>--git-notify=</option><replaceable>[auto|on|off]</replaceable></arg>
       <arg><option>--git-upstream-branch=</option><replaceable>treeish</replaceable></arg>
       <arg><option>--git-debian-branch=</option><replaceable>branch_name</replaceable></arg>
         </listitem>
       </varlistentry>
       <varlistentry>
+        <term><option>--git-color-scheme</option>=<replaceable>COLOR_SCHEME</replaceable></term>
+        <listitem>
+          <para>
+          Colors to use in output (when color is enabled). The format for
+          COLOR_SCHEME is
+          '&lt;debug&gt;:&lt;info&gt;:&lt;warning&gt;:&lt;error&gt;'.
+          Numerical values and color names are accepted, empty fields imply
+          the default color. For example --git-color-scheme='cyan:34::' would
+          show debug messages in cyan, info messages in blue and other messages
+          in default (i.e. warning and error messages in red).
+          </para>
+        </listitem>
+      </varlistentry>
+      <varlistentry>
         <term><option>--git-upstream-branch</option>=<replaceable>branch_name</replaceable>
         </term>
         <listitem>
index b281597..599d116 100644 (file)
@@ -23,6 +23,7 @@
 
       <arg><option>--verbose</option></arg>
       <arg><option>--color=</option><replaceable>[auto|on|off]</replaceable></arg>
+      <arg><option>--color-scheme</option>=<replaceable>COLOR_SCHEME</replaceable></arg>
       <group choice='req'>
        <arg choice="plain"><replaceable>command.option</replaceable></arg>
        <arg choice="plain"><replaceable>command</replaceable></arg>
           <para>Whether to use colored output.</para>
         </listitem>
       </varlistentry>
+      <varlistentry>
+        <term><option>--color-scheme</option>=<replaceable>COLOR_SCHEME</replaceable></term>
+        <listitem>
+          <para>
+          Colors to use in output (when color is enabled). The format for
+          COLOR_SCHEME is
+          '&lt;debug&gt;:&lt;info&gt;:&lt;warning&gt;:&lt;error&gt;'.
+          Numerical values and color names are accepted, empty fields imply
+          the default color. For example --git-color-scheme='cyan:34::' would
+          show debug messages in cyan, info messages in blue and other messages
+          in default (i.e. warning and error messages in red).
+          </para>
+        </listitem>
+      </varlistentry>
     </variablelist>
   </refsect1>
   <refsect1>
index 6251ab3..697916c 100644 (file)
@@ -22,6 +22,7 @@
       &gbp-pq;
       <arg><option>--verbose</option></arg>
       <arg><option>--color=</option><replaceable>[auto|on|off]</replaceable></arg>
+      <arg><option>--color-scheme</option>=<replaceable>COLOR_SCHEME</replaceable></arg>
       <arg><option>--[no-]patch-numbers</option></arg>
       <arg><option>--topic=</option><replaceable>topic</replaceable></arg>
       <arg><option>--time-machine=</option><replaceable>num</replaceable></arg>
         </listitem>
       </varlistentry>
       <varlistentry>
+        <term><option>--color-scheme</option>=<replaceable>COLOR_SCHEME</replaceable></term>
+        <listitem>
+          <para>
+          Colors to use in output (when color is enabled). The format for
+          COLOR_SCHEME is
+          '&lt;debug&gt;:&lt;info&gt;:&lt;warning&gt;:&lt;error&gt;'.
+          Numerical values and color names are accepted, empty fields imply
+          the default color. For example --git-color-scheme='cyan:34::' would
+          show debug messages in cyan, info messages in blue and other messages
+          in default (i.e. warning and error messages in red).
+          </para>
+        </listitem>
+      </varlistentry>
+      <varlistentry>
         <term><option>--[no-]patch-numbers</option>
         </term>
         <listitem>