diff options
author | Shigio YAMAGUCHI <shigio@gnu.org> | 2011-08-02 14:20:12 +0200 |
---|---|---|
committer | Jim Meyering <meyering@redhat.com> | 2011-08-02 17:47:25 +0200 |
commit | 3849c7c1e47e70ab9dd0d188afb9618982c7883c (patch) | |
tree | 9d9f316c293e1b374bd41bbdfc2b92fe9a1e67e4 | |
parent | 76833d687cb435f98a1fd664f04caf19894b8147 (diff) | |
download | idutils-3849c7c1e47e70ab9dd0d188afb9618982c7883c.tar.gz idutils-3849c7c1e47e70ab9dd0d188afb9618982c7883c.tar.bz2 idutils-3849c7c1e47e70ab9dd0d188afb9618982c7883c.zip |
lid: fix a bug that made it so -o, -x, -d did not work
* src/lid.c (radix_flag): Initialize to 0, not radix_all.
(main): Map 0 to the default, radix_all.
Tiny change.
-rw-r--r-- | src/lid.c | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -161,7 +161,7 @@ static int show_version; /* Which radixes do we want? */ -static int radix_flag = radix_all; +static int radix_flag = 0; /* If nonzero, ignore differences in alphabetic case while matching. */ @@ -411,6 +411,8 @@ main (int argc, char **argv) if (show_help) help_me (); + if (radix_flag == 0) + radix_flag = radix_all; if (separator_style == ss_contextual) { if (isatty (STDOUT_FILENO)) |