summaryrefslogtreecommitdiffstats
path: root/src/color.h
diff options
context:
space:
mode:
authorTavian Barnes <tavianator@tavianator.com>2023-06-16 13:44:21 -0400
committerTavian Barnes <tavianator@tavianator.com>2023-06-16 13:44:21 -0400
commit2eeee3e0d0d3aeca5e6487cc2431c1f65e35a6d8 (patch)
treec481462d4e4ffb4a3c43a50b6f5bec7777b4a7a9 /src/color.h
parentd3f4340a460a023656151f220f5923ec8ccf9894 (diff)
downloadbfs-2eeee3e0d0d3aeca5e6487cc2431c1f65e35a6d8.tar.xz
color: New %pq formatter for shell-escaped strings
Diffstat (limited to 'src/color.h')
-rw-r--r--src/color.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/color.h b/src/color.h
index 3db2b07..aca6a34 100644
--- a/src/color.h
+++ b/src/color.h
@@ -84,6 +84,7 @@ int cfclose(CFILE *cfile);
* %s: A string
* %zu: A size_t
* %m: strerror(errno)
+ * %pq: A shell-escaped string, like bash's printf %q
* %pF: A colored file name, from a const struct BFTW * argument
* %pP: A colored file path, from a const struct BFTW * argument
* %pL: A colored link target, from a const struct BFTW * argument