aboutsummaryrefslogtreecommitdiff
path: root/coreutils/cp.c
diff options
context:
space:
mode:
Diffstat (limited to 'coreutils/cp.c')
-rw-r--r--coreutils/cp.c7
1 files changed, 4 insertions, 3 deletions
diff --git a/coreutils/cp.c b/coreutils/cp.c
index 092e39583..fe408950a 100644
--- a/coreutils/cp.c
+++ b/coreutils/cp.c
@@ -81,7 +81,7 @@ int cp_main(int argc, char **argv)
81 // -a = -pdR 81 // -a = -pdR
82 opt_complementary = "-2:l--s:s--l:Pd:rRd:Rd:apdR"; 82 opt_complementary = "-2:l--s:s--l:Pd:rRd:Rd:apdR";
83#if ENABLE_FEATURE_CP_LONG_OPTIONS 83#if ENABLE_FEATURE_CP_LONG_OPTIONS
84 applet_long_options = 84 flags = getopt32long(argv, FILEUTILS_CP_OPTSTR,
85 "archive\0" No_argument "a" 85 "archive\0" No_argument "a"
86 "force\0" No_argument "f" 86 "force\0" No_argument "f"
87 "interactive\0" No_argument "i" 87 "interactive\0" No_argument "i"
@@ -94,9 +94,10 @@ int cp_main(int argc, char **argv)
94 "update\0" No_argument "u" 94 "update\0" No_argument "u"
95 "remove-destination\0" No_argument "\xff" 95 "remove-destination\0" No_argument "\xff"
96 "parents\0" No_argument "\xfe" 96 "parents\0" No_argument "\xfe"
97 ; 97 );
98#endif 98#else
99 flags = getopt32(argv, FILEUTILS_CP_OPTSTR); 99 flags = getopt32(argv, FILEUTILS_CP_OPTSTR);
100#endif
100 /* Options of cp from GNU coreutils 6.10: 101 /* Options of cp from GNU coreutils 6.10:
101 * -a, --archive 102 * -a, --archive
102 * -f, --force 103 * -f, --force