]> git.ipfire.org Git - thirdparty/coreutils.git/commitdiff
doc: document the c-maybe quoting style
authorPádraig Brady <P@draigBrady.com>
Wed, 26 Jun 2024 22:17:12 +0000 (23:17 +0100)
committerPádraig Brady <P@draigBrady.com>
Wed, 26 Jun 2024 22:17:12 +0000 (23:17 +0100)
* doc/coreutils.texi (ls invocation): Document the "c-maybe"
--quoting-style, which was added as an option in 2008.
Reported at https://bugs.debian.org/1074334

doc/coreutils.texi

index 1fa7f79ad2d981913b0a1785921f69ec482da3ee..c561ac755961e468fdb52c9ff70936fa129bbd64 100644 (file)
@@ -8714,6 +8714,9 @@ normally not require quoting.
 Quote strings as for C character string literals, including the
 surrounding double-quote characters; this is the same as the
 @option{--quote-name} (@option{-Q}) option.
+@item c-maybe
+Quote strings as for C character string literals, except omit the
+surrounding double-quote if no escaping is required.
 @item escape
 Quote strings as for C character string literals, except omit the
 surrounding double-quote