From: Jim Meyering Date: Mon, 25 Aug 2003 07:39:26 +0000 (+0000) Subject: (main): Warn about use of deprecated `-l' option. X-Git-Tag: v5.0.91~111 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=6bb625621f65a21b084df418b7bc75d394b78d92;p=thirdparty%2Fcoreutils.git (main): Warn about use of deprecated `-l' option. --- diff --git a/src/stat.c b/src/stat.c index c8e5dde4e6..0bcb1f19a4 100644 --- a/src/stat.c +++ b/src/stat.c @@ -788,13 +788,18 @@ main (int argc, char *argv[]) case 'c': format = optarg; break; + case 'l': /* deprecated */ + error (0, 0, _("Warning: `-l' is deprecated; use `-L' instead")); + /* fall through */ case 'L': follow_links = 1; break; + case 'f': fs = 1; break; + case 't': terse = 1; break;