]> git.ipfire.org Git - thirdparty/util-linux.git/commitdiff
cfdisk: fix colors initialization
authorKarel Zak <kzak@redhat.com>
Tue, 11 Mar 2014 10:49:52 +0000 (11:49 +0100)
committerKarel Zak <kzak@redhat.com>
Tue, 11 Mar 2014 10:49:52 +0000 (11:49 +0100)
Signed-off-by: Karel Zak <kzak@redhat.com>
disk-utils/cfdisk.8
disk-utils/cfdisk.c

index 2fae5925f7c791e36a0551609ec5e6b7de161157..64197efe4317e069191e12e81062146a22815953 100644 (file)
@@ -128,6 +128,17 @@ When in a sub-menu or at a prompt to enter a filename, you can hit the
 .I ESC
 key to return to the main command line.
 
+.SH COLORS
+Implicit coloring can be disabled as follows:
+.RS
+
+.br
+.BI "touch /etc/terminal-colors.d/cfdisk.disable"
+.br
+
+.RE
+For more details see
+.BR terminal-colors.d (5).
 .SH "SEE ALSO"
 .BR fdisk (8),
 .BR sfdisk (8),
index 47b7678739dc19169b800570d95816525799614e..5c04c170d92ac463d67b76d4eea8d306982bf51a 100644 (file)
@@ -1823,7 +1823,7 @@ int main(int argc, char *argv[])
 
 
 
-       colors_init(colormode);
+       colors_init(colormode, "cfdisk");
 
        fdisk_init_debug(0);
        cf->cxt = fdisk_new_context();