From 15e97882fff3f9c7cac0a5a47e7046e3c0f62a94 Mon Sep 17 00:00:00 2001 From: Jim Meyering Date: Sat, 15 Oct 2005 10:15:48 +0000 Subject: (main): Remove --link -l options. You can use --dereference (-L) instead. --- src/stat.c | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) (limited to 'src') diff --git a/src/stat.c b/src/stat.c index c9c71c555..63bda346e 100644 --- a/src/stat.c +++ b/src/stat.c @@ -101,7 +101,6 @@ #define AUTHORS "Michael Meskes" static struct option const long_options[] = { - {"link", no_argument, NULL, 'l'}, /* deprecated. FIXME: remove in 2003 */ {"dereference", no_argument, NULL, 'L'}, {"file-system", no_argument, NULL, 'f'}, {"filesystem", no_argument, NULL, 'f'}, /* obsolete and undocumented alias */ @@ -768,7 +767,7 @@ main (int argc, char *argv[]) atexit (close_stdout); - while ((c = getopt_long (argc, argv, "c:fLlt", long_options, NULL)) != -1) + while ((c = getopt_long (argc, argv, "c:fLt", long_options, NULL)) != -1) { switch (c) { @@ -776,9 +775,6 @@ main (int argc, char *argv[]) format = optarg; break; - case 'l': /* deprecated */ - error (0, 0, _("Warning: `-l' is deprecated; use `-L' instead")); - /* fall through */ case 'L': follow_links = true; break; -- cgit v1.2.3-70-g09d2