diff options
author | Matt Kraai <kraai@debian.org> | 2000-07-16 20:57:15 +0000 |
---|---|---|
committer | Matt Kraai <kraai@debian.org> | 2000-07-16 20:57:15 +0000 |
commit | bf181b9338152759fd56c8009e9a962a84808e7c (patch) | |
tree | e8c416c791c690f661c513340662e4e98ff3464a /cp_mv.c | |
parent | 3bd8bd89ee9d0b65bf279e1ecad826a5f2f0a217 (diff) | |
download | busybox-w32-bf181b9338152759fd56c8009e9a962a84808e7c.tar.gz busybox-w32-bf181b9338152759fd56c8009e9a962a84808e7c.tar.bz2 busybox-w32-bf181b9338152759fd56c8009e9a962a84808e7c.zip |
Extract usage information into a separate file.
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, |