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/cp.c | |
parent | 38acb920ebf02351792fc0b046f32a32ad3e710a (diff) | |
download | coreutils-1e25b6e3d3608549b46f55624e8111f48d916f2f.tar.xz |
Adapt to use new interface to XARGMATCH.
Diffstat (limited to 'src/cp.c')
-rw-r--r-- | src/cp.c | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -1,5 +1,5 @@ /* cp.c -- file copying (main routines) - Copyright (C) 89, 90, 91, 95, 96, 97, 1998 Free Software Foundation. + Copyright (C) 89, 90, 91, 95, 96, 97, 1998, 1999 Free Software Foundation. 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 @@ -655,8 +655,8 @@ main (int argc, char **argv) break; case CHAR_MAX + 1: - x.sparse_mode = XARGMATCH ("--sparse", optarg, - sparse_type_string, sparse_type); + XARGMATCH (&x.sparse_mode, "--sparse", optarg, + sparse_type_string, sparse_type, usage (1)); break; case 'a': /* Like -dpR. */ |