diff options
author | Ondřej Vašík <ovasik@redhat.com> | 2008-10-09 10:56:54 +0200 |
---|---|---|
committer | Jim Meyering <meyering@redhat.com> | 2008-10-13 09:01:54 +0200 |
commit | 7377f49ea807562816ba027030b3ec90958d0819 (patch) | |
tree | ec28b099957069063c1f7473508648f3ebc35599 /doc | |
parent | 969841cb77fe2fc95959eb740809547b29381bd8 (diff) | |
download | coreutils-7377f49ea807562816ba027030b3ec90958d0819.tar.xz |
doc: ls: clarify exit status description
* src/ls.c (exit_status): Clarify comments.
(usage): Clarify exit status description in --help output.
* doc/coreutils.texi (ls invocation): Clarify exit status documentation
Reported by Greg Metcalfe in <http://bugzilla.redhat.com/446294>.
Diffstat (limited to 'doc')
-rw-r--r-- | doc/coreutils.texi | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/doc/coreutils.texi b/doc/coreutils.texi index a0d220263..b7e044d90 100644 --- a/doc/coreutils.texi +++ b/doc/coreutils.texi @@ -6073,8 +6073,11 @@ Exit status: @display 0 success -1 minor problems (e.g., a subdirectory was not found) -2 serious trouble (e.g., memory exhausted) +1 minor problems (e.g., failure to access a file or directory not + specified as a command line argument. This happens when listing a + directory in which entries are actively being removed or renamed.) +2 serious trouble (e.g., memory exhausted, invalid option or failure + to access file or directory specified as a command line argument) @end display Also see @ref{Common options}. |