diff options
author | Jim Meyering <jim@meyering.net> | 1999-01-02 19:35:46 +0000 |
---|---|---|
committer | Jim Meyering <jim@meyering.net> | 1999-01-02 19:35:46 +0000 |
commit | 7004c53ab4c551adad61f9a733289ffc3330defe (patch) | |
tree | cb2732a84a9c167d9a98f1f70497d24a216f365e | |
parent | 501ee2ebd61081332096d91ca312ea50bb7526e4 (diff) | |
download | coreutils-7004c53ab4c551adad61f9a733289ffc3330defe.tar.xz |
(parse_options): Use XARGMATCH in place of argmatch.
-rw-r--r-- | src/tail.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/tail.c b/src/tail.c index d6dac195c..f87d2f249 100644 --- a/src/tail.c +++ b/src/tail.c @@ -1248,11 +1248,11 @@ parse_options (int argc, char **argv, case 'f': forever = 1; - follow_mode = (optarg == NULL - ? DEFAULT_FOLLOW_MODE - : XARGCASEMATCH ("--follow", optarg, - follow_mode_string, - follow_mode_map)); + if (optarg == NULL) + follow_mode = DEFAULT_FOLLOW_MODE; + else + XARGMATCH (&follow_mode, "--follow", optarg, + follow_mode_string, follow_mode_map, usage (1)); break; case CHAR_MAX + 1: |