summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorPaul Eggert <eggert@cs.ucla.edu>2004-12-09 17:50:54 +0000
committerPaul Eggert <eggert@cs.ucla.edu>2004-12-09 17:50:54 +0000
commit1782c40176449907029e072138d1760c9140b265 (patch)
treeaad3f85b7c1ba766042001c70aad65a2ec9b5757 /doc
parentc3b2c15cfee3be491e39ebea9d7fcbf8d91036a2 (diff)
downloadcoreutils-1782c40176449907029e072138d1760c9140b265.tar.xz
(ls invocation): Document new "ls" exit status.
Diffstat (limited to 'doc')
-rw-r--r--doc/coreutils.texi9
1 files changed, 8 insertions, 1 deletions
diff --git a/doc/coreutils.texi b/doc/coreutils.texi
index 479953863..0795088e4 100644
--- a/doc/coreutils.texi
+++ b/doc/coreutils.texi
@@ -5290,7 +5290,14 @@ within each section, options are listed alphabetically (ignoring case).
The division of options into the subsections is not absolute, since some
options affect more than one aspect of @command{ls}'s operation.
-@exitstatus
+@cindex exit status of @command{ls}
+Exit status:
+
+@display
+0 success
+1 minor problems (e.g., a file could not be found)
+2 serious trouble (e.g., memory exhausted)
+@end display
Also see @ref{Common options}.