]> git.ipfire.org Git - thirdparty/coreutils.git/commitdiff
(main): Don't complain about -NUM.
authorPaul Eggert <eggert@cs.ucla.edu>
Tue, 26 Apr 2005 16:43:45 +0000 (16:43 +0000)
committerPaul Eggert <eggert@cs.ucla.edu>
Tue, 26 Apr 2005 16:43:45 +0000 (16:43 +0000)
src/uniq.c

index a0264709137a2ac749a2163230d51b4aa3301feb..8d17dfd1574c1abe0589eaec1ef4a5a237719814 100644 (file)
@@ -510,7 +510,7 @@ main (int argc, char **argv)
                                        delimit_method_map);
          break;
 
-       case 'f':               /* Like '-#'. */
+       case 'f':
          skip_field_option_type = SFO_NEW;
          skip_fields = size_opt (optarg,
                                  N_("invalid number of fields to skip"));
@@ -520,7 +520,7 @@ main (int argc, char **argv)
          ignore_case = true;
          break;
 
-       case 's':               /* Like '+#'. */
+       case 's':
          skip_chars = size_opt (optarg,
                                 N_("invalid number of bytes to skip"));
          break;
@@ -543,13 +543,6 @@ main (int argc, char **argv)
        }
     }
 
-  if (skip_field_option_type == SFO_OBSOLETE && 200112 <= posix2_version ())
-    {
-      error (0, 0, _("`-%lu' option is obsolete; use `-f %lu'"),
-            (unsigned long int) skip_fields, (unsigned long int) skip_fields);
-      usage (EXIT_FAILURE);
-    }
-
   if (countmode == count_occurrences && output_later_repeated)
     {
       error (0, 0,