diff options
author | Jim Meyering <jim@meyering.net> | 1999-01-02 16:35:55 +0000 |
---|---|---|
committer | Jim Meyering <jim@meyering.net> | 1999-01-02 16:35:55 +0000 |
commit | 041b69340dd1c7442874f0e744dbb265e0f7c747 (patch) | |
tree | 2bc3fc60a765993b5b75789e6482083b9c2f700f /src | |
parent | f4db32ef36d142d8daf86280989088ffbac84a2b (diff) | |
download | coreutils-041b69340dd1c7442874f0e744dbb265e0f7c747.tar.xz |
use XARGMATCH, not XARGCASEMATCH
Diffstat (limited to 'src')
-rw-r--r-- | src/cp.c | 2 | ||||
-rw-r--r-- | src/ls.c | 12 |
2 files changed, 7 insertions, 7 deletions
@@ -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; @@ -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; |