summaryrefslogtreecommitdiff
path: root/src/stat.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/stat.c')
-rw-r--r--src/stat.c6
1 files changed, 1 insertions, 5 deletions
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;