summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorPádraig Brady <P@draigBrady.com>2015-11-03 10:13:11 +0000
committerPádraig Brady <P@draigBrady.com>2015-11-04 23:30:15 +0000
commit7549be4af7e8ac9a088927c35a011da835968b9f (patch)
tree74d20051c2ead5258be580a9233f9fd6b8f66f59 /src
parented2326ac367a77b1d88493e96ccebdd36f596cdb (diff)
downloadcoreutils-7549be4af7e8ac9a088927c35a011da835968b9f.tar.xz
ls: document and test new shell-escape quoting
* doc/coreutils.texi (ls invocation): Describe the new 'shell-escape' and 'shell-escape-always' quoting options. * src/ls.c (usage): Mention the new quoting options. * tests/misc/ls-misc.pl: Add a test for 'shell-escape'
Diffstat (limited to 'src')
-rw-r--r--src/ls.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/ls.c b/src/ls.c
index 95a2ed8ec..8d68a03e1 100644
--- a/src/ls.c
+++ b/src/ls.c
@@ -4906,8 +4906,8 @@ Sort entries alphabetically if none of -cftuvSUX nor --sort is specified.\n\
\n\
-Q, --quote-name enclose entry names in double quotes\n\
--quoting-style=WORD use quoting style WORD for entry names:\n\
- literal, locale, shell, shell-always, c, escape\
-\n\
+ literal, locale, shell, shell-always,\n\
+ shell-escape, shell-escape-always, c, escape\n\
"), stdout);
fputs (_("\
-r, --reverse reverse order while sorting\n\