diff options
author | Jim Meyering <jim@meyering.net> | 2003-08-25 07:39:26 +0000 |
---|---|---|
committer | Jim Meyering <jim@meyering.net> | 2003-08-25 07:39:26 +0000 |
commit | 6bb625621f65a21b084df418b7bc75d394b78d92 (patch) | |
tree | df5554cd56531eed405baf38a63d15bed7c20985 /src | |
parent | adbc34bacb68c5237f042d37e117eadb8da009be (diff) | |
download | coreutils-6bb625621f65a21b084df418b7bc75d394b78d92.tar.xz |
(main): Warn about use of deprecated `-l' option.
Diffstat (limited to 'src')
-rw-r--r-- | src/stat.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/stat.c b/src/stat.c index c8e5dde4e..0bcb1f19a 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; |