summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorJim Meyering <jim@meyering.net>2002-11-23 16:43:49 +0000
committerJim Meyering <jim@meyering.net>2002-11-23 16:43:49 +0000
commit5649aebdefdb0d4628413c72cc8f48fbc52bcd1a (patch)
treee9edf77946a277cbacd857d0ee85d8bf4079d4ec /src
parent0c64e08266d14d4578800b127e612b501fd9b25a (diff)
downloadcoreutils-5649aebdefdb0d4628413c72cc8f48fbc52bcd1a.tar.xz
(decode_switches): Use case-sensitive matching to
decode the QUOTING_STYLE environment variable. This is more consistent with the documentation, and with --quoting-style.
Diffstat (limited to 'src')
-rw-r--r--src/ls.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ls.c b/src/ls.c
index 246e7f07e..56206389a 100644
--- a/src/ls.c
+++ b/src/ls.c
@@ -1303,7 +1303,7 @@ decode_switches (int argc, char **argv)
char const *q_style = getenv ("QUOTING_STYLE");
if (q_style)
{
- int i = ARGCASEMATCH (q_style, quoting_style_args, quoting_style_vals);
+ int i = ARGMATCH (q_style, quoting_style_args, quoting_style_vals);
if (0 <= i)
set_quoting_style (NULL, quoting_style_vals[i]);
else