summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorPádraig Brady <P@draigBrady.com>2014-11-21 16:20:03 +0000
committerPádraig Brady <P@draigBrady.com>2014-11-21 16:25:42 +0000
commit57c8196ef6848962145a70dcc465c239a9998eea (patch)
treee286aad8c8d2e44a985d9b79ba5d426c18924ff7 /src
parent0e942fdba6c7e6372f778a94dcd64479934166d9 (diff)
downloadcoreutils-57c8196ef6848962145a70dcc465c239a9998eea.tar.xz
doc: mention how to avoid newlines impacting ls -1
* src/ls.c (usage): Mention the -b and -q options in the -1 description. * doc/coreutils.texi (ls invocation): Likewise.
Diffstat (limited to 'src')
-rw-r--r--src/ls.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/ls.c b/src/ls.c
index 8b5b2cf74..5bae06fbe 100644
--- a/src/ls.c
+++ b/src/ls.c
@@ -4929,7 +4929,8 @@ Sort entries alphabetically if none of -cftuvSUX nor --sort is specified.\n\
-x list entries by lines instead of by columns\n\
-X sort alphabetically by entry extension\n\
-Z, --context print any security context of each file\n\
- -1 list one file per line\n\
+ -1 list one file per line. Avoid '\\n' with -q or -b\
+\n\
"), stdout);
fputs (HELP_OPTION_DESCRIPTION, stdout);
fputs (VERSION_OPTION_DESCRIPTION, stdout);