From 48f116198d53697d59d03f4e0ff6cd8c04e79660 Mon Sep 17 00:00:00 2001 From: Denys Vlasenko Date: Sat, 26 Sep 2009 14:31:04 +0200 Subject: cp: add support for --parents and long option synonyms of short opts By Ian Wienand (ianw AT vmware.com) function old new delta cp_main 257 369 +112 ------------------------------------------------------------------------------ (add/remove: 0/0 grow/shrink: 1/0 up/down: 112/0) Total: 112 bytes text data bss dec hex filename 823000 458 6948 830406 cabc6 busybox_old 823283 458 6948 830689 cace1 busybox_unstripped Signed-off-by: Denys Vlasenko --- coreutils/Config.in | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) (limited to 'coreutils/Config.in') diff --git a/coreutils/Config.in b/coreutils/Config.in index cacfb9661..64a9421c7 100644 --- a/coreutils/Config.in +++ b/coreutils/Config.in @@ -78,6 +78,14 @@ config CP help cp is used to copy files and directories. +config FEATURE_CP_LONG_OPTIONS + bool "Enable long options for cp" + default n + depends on CP + help + Enable long options for cp. + Also add support for --parents option. + config CUT bool "cut" default n @@ -113,7 +121,7 @@ config FEATURE_DD_SIGNAL_HANDLING default y depends on DD help - sending a SIGUSR1 signal to a running `dd' process makes it + Sending a SIGUSR1 signal to a running `dd' process makes it print to standard error the number of records read and written so far, then to resume copying. -- cgit v1.2.3