]> git.ipfire.org Git - thirdparty/coreutils.git/commitdiff
use XARGMATCH, not XARGCASEMATCH
authorJim Meyering <jim@meyering.net>
Sat, 2 Jan 1999 16:35:55 +0000 (16:35 +0000)
committerJim Meyering <jim@meyering.net>
Sat, 2 Jan 1999 16:35:55 +0000 (16:35 +0000)
src/cp.c
src/ls.c

index c2d15179c6f4223f8f37d7c0bff82fdbb216ed52..4b81546862daf3a045f1e1ff35d4e60825aded86 100644 (file)
--- a/src/cp.c
+++ b/src/cp.c
@@ -655,7 +655,7 @@ main (int argc, char **argv)
          break;
 
        case CHAR_MAX + 1:
-         x.sparse_mode = XARGCASEMATCH ("--sparse", optarg,
+         x.sparse_mode = XARGMATCH ("--sparse", optarg,
                                         sparse_type_string, sparse_type);
          break;
 
index 5f967a4ab7c80a96c63e32bd82c07b64e3b3860e..84e0a2d36ca430de6715b259825759a6985ae2ce 100644 (file)
--- a/src/ls.c
+++ b/src/ls.c
@@ -1099,21 +1099,21 @@ decode_switches (int argc, char **argv)
          break;
 
        case 10:                /* --sort */
-         sort_type = XARGCASEMATCH ("--sort", optarg, sort_args, sort_types);
+         sort_type = XARGMATCH ("--sort", optarg, sort_args, sort_types);
          break;
 
        case 11:                /* --time */
-         time_type = XARGCASEMATCH ("--time", optarg, time_args, time_types);
+         time_type = XARGMATCH ("--time", optarg, time_args, time_types);
          break;
 
        case 12:                /* --format */
-         format = XARGCASEMATCH ("--format", optarg,
+         format = XARGMATCH ("--format", optarg,
                                  format_args, format_types);
          break;
 
        case 13:                /* --color */
          if (optarg)
-           i = XARGCASEMATCH ("--color", optarg,
+           i = XARGMATCH ("--color", optarg,
                               color_args, color_types);
          else
            /* Using --color with no argument is equivalent to using
@@ -1134,14 +1134,14 @@ decode_switches (int argc, char **argv)
          break;
 
        case 14:                /* --indicator-style */
-         indicator_style = XARGCASEMATCH ("--indicator-style", optarg,
+         indicator_style = XARGMATCH ("--indicator-style", optarg,
                                           indicator_style_args,
                                           indicator_style_types);
          break;
 
        case 15:                /* --quoting-style */
          set_quoting_style (NULL,
-                            XARGCASEMATCH ("--quoting-style", optarg,
+                            XARGMATCH ("--quoting-style", optarg,
                                            quoting_style_args,
                                            quoting_style_vals));
          break;