summaryrefslogtreecommitdiff
path: root/cp_mv.c
diff options
context:
space:
mode:
authorMatt Kraai2000-07-16 20:57:15 +0000
committerMatt Kraai2000-07-16 20:57:15 +0000
commitbf181b9338152759fd56c8009e9a962a84808e7c (patch)
treee8c416c791c690f661c513340662e4e98ff3464a /cp_mv.c
parent3bd8bd89ee9d0b65bf279e1ecad826a5f2f0a217 (diff)
downloadbusybox-bf181b9338152759fd56c8009e9a962a84808e7c.zip
busybox-bf181b9338152759fd56c8009e9a962a84808e7c.tar.gz
Extract usage information into a separate file.
Diffstat (limited to 'cp_mv.c')
-rw-r--r--cp_mv.c22
1 files changed, 0 insertions, 22 deletions
diff --git a/cp_mv.c b/cp_mv.c
index 72ba537..4c3c7a3 100644
--- a/cp_mv.c
+++ b/cp_mv.c
@@ -47,28 +47,6 @@
#define is_mv 1
static int dz_i; /* index into cp_mv_usage */
-const char cp_usage[] =
- "cp [OPTION]... SOURCE DEST\n"
- " or: cp [OPTION]... SOURCE... DIRECTORY\n"
-#ifndef BB_FEATURE_TRIVIAL_HELP
- "\nCopies SOURCE to DEST, or multiple SOURCE(s) to DIRECTORY.\n"
- "\n"
- "\t-a\tSame as -dpR\n"
- "\t-d\tPreserves links\n"
- "\t-p\tPreserves file attributes if possible\n"
- "\t-f\tforce (implied; ignored) - always set\n"
- "\t-R\tCopies directories recursively\n"
-#endif
- ;
-
-const char mv_usage[] =
- "mv SOURCE DEST\n"
- " or: mv SOURCE... DIRECTORY\n"
-#ifndef BB_FEATURE_TRIVIAL_HELP
- "\nRename SOURCE to DEST, or move SOURCE(s) to DIRECTORY.\n"
-#endif
- ;
-
static const char *cp_mv_usage[] = /* .rodata */
{
cp_usage,