From 7377f49ea807562816ba027030b3ec90958d0819 Mon Sep 17 00:00:00 2001 From: Ondřej Vašík Date: Thu, 9 Oct 2008 10:56:54 +0200 Subject: 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 . --- doc/coreutils.texi | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) (limited to 'doc') 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}. -- cgit v1.2.3-54-g00ecf