summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--disk-utils/cfdisk.811
-rw-r--r--disk-utils/cfdisk.c2
2 files changed, 12 insertions, 1 deletions
diff --git a/disk-utils/cfdisk.8 b/disk-utils/cfdisk.8
index 2fae5925f..64197efe4 100644
--- a/disk-utils/cfdisk.8
+++ b/disk-utils/cfdisk.8
@@ -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),
diff --git a/disk-utils/cfdisk.c b/disk-utils/cfdisk.c
index 47b767873..5c04c170d 100644
--- a/disk-utils/cfdisk.c
+++ b/disk-utils/cfdisk.c
@@ -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();