summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorJim Meyering <jim@meyering.net>1999-01-02 16:35:55 +0000
committerJim Meyering <jim@meyering.net>1999-01-02 16:35:55 +0000
commit041b69340dd1c7442874f0e744dbb265e0f7c747 (patch)
tree2bc3fc60a765993b5b75789e6482083b9c2f700f /src
parentf4db32ef36d142d8daf86280989088ffbac84a2b (diff)
downloadcoreutils-041b69340dd1c7442874f0e744dbb265e0f7c747.tar.xz
use XARGMATCH, not XARGCASEMATCH
Diffstat (limited to 'src')
-rw-r--r--src/cp.c2
-rw-r--r--src/ls.c12
2 files changed, 7 insertions, 7 deletions
diff --git a/src/cp.c b/src/cp.c
index c2d15179c..4b8154686 100644
--- 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;
diff --git a/src/ls.c b/src/ls.c
index 5f967a4ab..84e0a2d36 100644
--- 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;