diff options
author | Denis Vlasenko <vda.linux@googlemail.com> | 2008-02-13 19:52:00 +0300 |
---|---|---|
committer | Denis Vlasenko <vda.linux@googlemail.com> | 2008-02-13 19:52:00 +0300 |
commit | d5fe880a57bc140f2e1469d2f1c75f815df94eff (patch) | |
tree | 666b3f300bf6eebfd407df9b6d4a0192275eeb8e /libbb/Config.in | |
parent | 9d96af2e83a9519ac89ff0f8dae7f8478d33f581 (diff) |
cp: add ENABLE_FEATURE_VERBOSE_CP_MESSAGE. Closes bug 1470
Diffstat (limited to 'libbb/Config.in')
-rw-r--r-- | libbb/Config.in | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/libbb/Config.in b/libbb/Config.in index 0ad4381d9..9389fe808 100644 --- a/libbb/Config.in +++ b/libbb/Config.in @@ -102,6 +102,21 @@ config FEATURE_EDITING_FANCY_PROMPT Setting this option allows for prompts to use things like \w and \$ and escape codes. +config FEATURE_VERBOSE_CP_MESSAGE + bool "Give more precise messages when copy fails (cp, mv etc)" + default n + help + Error messages with this feature enabled: + $ cp file /does_not_exist/file + cp: cannot create '/does_not_exist/file': Path does not exist + $ cp file /vmlinuz/file + cp: cannot stat '/vmlinuz/file': Path has non-directory component + If this feature is not enabled, they will be, respectively: + cp: cannot remove '/does_not_exist/file': No such file or directory + cp: cannot stat '/vmlinuz/file': Not a directory + respectively. + This will cost you ~60 bytes. + config FEATURE_COPYBUF_KB int "Copy buffer size, in kilobytes" range 1 1024 |