From 7004c53ab4c551adad61f9a733289ffc3330defe Mon Sep 17 00:00:00 2001 From: Jim Meyering Date: Sat, 2 Jan 1999 19:35:46 +0000 Subject: (parse_options): Use XARGMATCH in place of argmatch. --- src/tail.c | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'src') 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: -- cgit v1.2.3-70-g09d2