diff options
author | Jim Meyering <jim@meyering.net> | 1999-01-02 19:29:47 +0000 |
---|---|---|
committer | Jim Meyering <jim@meyering.net> | 1999-01-02 19:29:47 +0000 |
commit | 1e25b6e3d3608549b46f55624e8111f48d916f2f (patch) | |
tree | 94d5dc3434b862e241ca9685be889cfd2274b3a9 /src/touch.c | |
parent | 38acb920ebf02351792fc0b046f32a32ad3e710a (diff) | |
download | coreutils-1e25b6e3d3608549b46f55624e8111f48d916f2f.tar.xz |
Adapt to use new interface to XARGMATCH.
Diffstat (limited to 'src/touch.c')
-rw-r--r-- | src/touch.c | 10 |
1 files changed, 7 insertions, 3 deletions
diff --git a/src/touch.c b/src/touch.c index f9ea43a06..6f24d9f4c 100644 --- a/src/touch.c +++ b/src/touch.c @@ -1,5 +1,5 @@ /* touch -- change modification and access times of files - Copyright (C) 87, 89, 90, 91, 95, 96, 97, 1998 Free Software Foundation, Inc. + Copyright (C) 87, 1989-1991, 1995-1999 Free Software Foundation, Inc. This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by @@ -285,8 +285,12 @@ main (int argc, char **argv) break; case CHAR_MAX + 1: /* --time */ - change_times |= XARGCASEMATCH ("--time", optarg, - time_args, time_masks); + { + int mask; + XARGMATCH (&mask, "--time", optarg, time_args, time_masks, + usage (1)); + change_times |= mask; + } break; default: |