aboutsummaryrefslogtreecommitdiff
path: root/cp_mv.c
diff options
context:
space:
mode:
Diffstat (limited to 'cp_mv.c')
-rw-r--r--cp_mv.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/cp_mv.c b/cp_mv.c
index b43a6d31f..ae35bca19 100644
--- a/cp_mv.c
+++ b/cp_mv.c
@@ -56,6 +56,7 @@ static const char *cp_mv_usage[] = /* .rodata */
56 "\t-a\tSame as -dpR\n" 56 "\t-a\tSame as -dpR\n"
57 "\t-d\tPreserves links\n" 57 "\t-d\tPreserves links\n"
58 "\t-p\tPreserves file attributes if possible\n" 58 "\t-p\tPreserves file attributes if possible\n"
59 "\t-f\tforce (implied; ignored) - always set\n"
59 "\t-R\tCopies directories recursively\n" 60 "\t-R\tCopies directories recursively\n"
60#endif 61#endif
61 , 62 ,
@@ -218,6 +219,9 @@ extern int cp_mv_main(int argc, char **argv)
218 case 'R': 219 case 'R':
219 recursiveFlag = TRUE; 220 recursiveFlag = TRUE;
220 break; 221 break;
222 case 'f':
223 /* for compatibility; busybox cp/mv always does force */
224 break;
221 default: 225 default:
222 usage(cp_mv_usage[is_cp]); 226 usage(cp_mv_usage[is_cp]);
223 } 227 }