diff options
author | kraai <kraai@69ca8d6d-28ef-0310-b511-8ec308f3f277> | 2000-07-16 20:57:15 +0000 |
---|---|---|
committer | kraai <kraai@69ca8d6d-28ef-0310-b511-8ec308f3f277> | 2000-07-16 20:57:15 +0000 |
commit | d353f773bab8c0f92e149a74400aa31b57da9d05 (patch) | |
tree | e8c416c791c690f661c513340662e4e98ff3464a /cp_mv.c | |
parent | 3ab1d8193e335afa74e86a8d8e628158d7e503b9 (diff) | |
download | busybox-w32-d353f773bab8c0f92e149a74400aa31b57da9d05.tar.gz busybox-w32-d353f773bab8c0f92e149a74400aa31b57da9d05.tar.bz2 busybox-w32-d353f773bab8c0f92e149a74400aa31b57da9d05.zip |
Extract usage information into a separate file.
git-svn-id: svn://busybox.net/trunk/busybox@864 69ca8d6d-28ef-0310-b511-8ec308f3f277
Diffstat (limited to 'cp_mv.c')
-rw-r--r-- | cp_mv.c | 22 |
1 files changed, 0 insertions, 22 deletions
@@ -47,28 +47,6 @@ | |||
47 | #define is_mv 1 | 47 | #define is_mv 1 |
48 | static int dz_i; /* index into cp_mv_usage */ | 48 | static int dz_i; /* index into cp_mv_usage */ |
49 | 49 | ||
50 | const char cp_usage[] = | ||
51 | "cp [OPTION]... SOURCE DEST\n" | ||
52 | " or: cp [OPTION]... SOURCE... DIRECTORY\n" | ||
53 | #ifndef BB_FEATURE_TRIVIAL_HELP | ||
54 | "\nCopies SOURCE to DEST, or multiple SOURCE(s) to DIRECTORY.\n" | ||
55 | "\n" | ||
56 | "\t-a\tSame as -dpR\n" | ||
57 | "\t-d\tPreserves links\n" | ||
58 | "\t-p\tPreserves file attributes if possible\n" | ||
59 | "\t-f\tforce (implied; ignored) - always set\n" | ||
60 | "\t-R\tCopies directories recursively\n" | ||
61 | #endif | ||
62 | ; | ||
63 | |||
64 | const char mv_usage[] = | ||
65 | "mv SOURCE DEST\n" | ||
66 | " or: mv SOURCE... DIRECTORY\n" | ||
67 | #ifndef BB_FEATURE_TRIVIAL_HELP | ||
68 | "\nRename SOURCE to DEST, or move SOURCE(s) to DIRECTORY.\n" | ||
69 | #endif | ||
70 | ; | ||
71 | |||
72 | static const char *cp_mv_usage[] = /* .rodata */ | 50 | static const char *cp_mv_usage[] = /* .rodata */ |
73 | { | 51 | { |
74 | cp_usage, | 52 | cp_usage, |