summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorJim Meyering <jim@meyering.net>2005-10-15 10:15:48 +0000
committerJim Meyering <jim@meyering.net>2005-10-15 10:15:48 +0000
commit15e97882fff3f9c7cac0a5a47e7046e3c0f62a94 (patch)
tree7ee868d110d2005d3dab4a9e11665d405ba35175 /src
parentf90df192b4182ff41a23a23db4ed35c18415a571 (diff)
downloadcoreutils-15e97882fff3f9c7cac0a5a47e7046e3c0f62a94.tar.xz
(main): Remove --link -l options.
You can use --dereference (-L) instead.
Diffstat (limited to 'src')
-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;