summaryrefslogtreecommitdiff
path: root/src/cp.c
diff options
context:
space:
mode:
authorJim Meyering <jim@meyering.net>1999-01-02 19:29:47 +0000
committerJim Meyering <jim@meyering.net>1999-01-02 19:29:47 +0000
commit1e25b6e3d3608549b46f55624e8111f48d916f2f (patch)
tree94d5dc3434b862e241ca9685be889cfd2274b3a9 /src/cp.c
parent38acb920ebf02351792fc0b046f32a32ad3e710a (diff)
downloadcoreutils-1e25b6e3d3608549b46f55624e8111f48d916f2f.tar.xz
Adapt to use new interface to XARGMATCH.
Diffstat (limited to 'src/cp.c')
-rw-r--r--src/cp.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/cp.c b/src/cp.c
index 4b8154686..14ba1075c 100644
--- a/src/cp.c
+++ b/src/cp.c
@@ -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. */