summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorJim Meyering <jim@meyering.net>2000-05-12 20:39:34 +0000
committerJim Meyering <jim@meyering.net>2000-05-12 20:39:34 +0000
commita5c02a198b076ac94baf0a0ec3c1ffa25a12b47d (patch)
treecaddd7881dfe29a5e1d3b02dff0be9dedf6d53ec /src
parent12bf65f9155fab98bfd5b3038186f057c7f62a4f (diff)
downloadcoreutils-a5c02a198b076ac94baf0a0ec3c1ffa25a12b47d.tar.xz
Unlike for mv, -i doesn't cancel the effect of -f
and -f doesn't cancel the effect of -i. (main) ['f']: Don't reset `x.interactive'. ['i']: Don't reset `x.force'.
Diffstat (limited to 'src')
-rw-r--r--src/cp.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/cp.c b/src/cp.c
index 5ab4e0ffc..b39db1da6 100644
--- a/src/cp.c
+++ b/src/cp.c
@@ -731,11 +731,9 @@ main (int argc, char **argv)
case 'f':
x.force = 1;
- x.interactive = 0;
break;
case 'i':
- x.force = 0;
x.interactive = 1;
break;