diff options
| author | Pere Orga <gotrunks@gmail.com> | 2011-03-27 22:40:30 +0200 |
|---|---|---|
| committer | Denys Vlasenko <vda.linux@googlemail.com> | 2011-03-27 22:40:30 +0200 |
| commit | 1f4447b2d439e6f11d95746bb5f611c353305859 (patch) | |
| tree | 0f47681009046a12ee050b989b838c68493a6a2e /include | |
| parent | 700fbc308dd1f2e063180786cddfcc4abd6c10c0 (diff) | |
| download | busybox-w32-1f4447b2d439e6f11d95746bb5f611c353305859.tar.gz busybox-w32-1f4447b2d439e6f11d95746bb5f611c353305859.tar.bz2 busybox-w32-1f4447b2d439e6f11d95746bb5f611c353305859.zip | |
move help text from include/usage.src.h to archival/*.c
Signed-off-by: Pere Orga <gotrunks@gmail.com>
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Diffstat (limited to 'include')
| -rw-r--r-- | include/usage.src.h | 210 |
1 files changed, 0 insertions, 210 deletions
diff --git a/include/usage.src.h b/include/usage.src.h index d07b408a6..69b8da272 100644 --- a/include/usage.src.h +++ b/include/usage.src.h | |||
| @@ -74,17 +74,6 @@ INSERT | |||
| 74 | "\n -t TICK Microseconds per tick, usually 10000" \ | 74 | "\n -t TICK Microseconds per tick, usually 10000" \ |
| 75 | "\n -p TCONST" \ | 75 | "\n -p TCONST" \ |
| 76 | 76 | ||
| 77 | #define ar_trivial_usage \ | ||
| 78 | "[-o] [-v] [-p] [-t] [-x] ARCHIVE FILES" | ||
| 79 | #define ar_full_usage "\n\n" \ | ||
| 80 | "Extract or list FILES from an ar archive\n" \ | ||
| 81 | "\nOptions:" \ | ||
| 82 | "\n -o Preserve original dates" \ | ||
| 83 | "\n -p Extract to stdout" \ | ||
| 84 | "\n -t List" \ | ||
| 85 | "\n -x Extract" \ | ||
| 86 | "\n -v Verbose" \ | ||
| 87 | |||
| 88 | #define arp_trivial_usage \ | 77 | #define arp_trivial_usage \ |
| 89 | "\n[-vn] [-H HWTYPE] [-i IF] -a [HOSTNAME]" \ | 78 | "\n[-vn] [-H HWTYPE] [-i IF] -a [HOSTNAME]" \ |
| 90 | "\n[-v] [-i IF] -d HOSTNAME [pub]" \ | 79 | "\n[-v] [-i IF] -d HOSTNAME [pub]" \ |
| @@ -179,90 +168,9 @@ INSERT | |||
| 179 | "\n stp BRIDGE [1/yes/on|0/no/off] STP on/off" \ | 168 | "\n stp BRIDGE [1/yes/on|0/no/off] STP on/off" \ |
| 180 | ) \ | 169 | ) \ |
| 181 | 170 | ||
| 182 | #define bzip2_trivial_usage \ | ||
| 183 | "[OPTIONS] [FILE]..." | ||
| 184 | #define bzip2_full_usage "\n\n" \ | ||
| 185 | "Compress FILEs (or stdin) with bzip2 algorithm\n" \ | ||
| 186 | "\nOptions:" \ | ||
| 187 | "\n -1..9 Compression level" \ | ||
| 188 | "\n -d Decompress" \ | ||
| 189 | "\n -c Write to stdout" \ | ||
| 190 | "\n -f Force" \ | ||
| 191 | |||
| 192 | #define busybox_notes_usage \ | 171 | #define busybox_notes_usage \ |
| 193 | "Hello world!\n" | 172 | "Hello world!\n" |
| 194 | 173 | ||
| 195 | #define lzop_trivial_usage \ | ||
| 196 | "[-cfvd123456789CF] [FILE]..." | ||
| 197 | #define lzop_full_usage "\n\n" \ | ||
| 198 | "Options:" \ | ||
| 199 | "\n -1..9 Compression level" \ | ||
| 200 | "\n -d Decompress" \ | ||
| 201 | "\n -c Write to stdout" \ | ||
| 202 | "\n -f Force" \ | ||
| 203 | "\n -v Verbose" \ | ||
| 204 | "\n -F Don't store or verify checksum" \ | ||
| 205 | "\n -C Also write checksum of compressed block" \ | ||
| 206 | |||
| 207 | #define lzopcat_trivial_usage \ | ||
| 208 | "[-vCF] [FILE]..." | ||
| 209 | #define lzopcat_full_usage "\n\n" \ | ||
| 210 | " -v Verbose" \ | ||
| 211 | "\n -F Don't store or verify checksum" \ | ||
| 212 | |||
| 213 | #define unlzop_trivial_usage \ | ||
| 214 | "[-cfvCF] [FILE]..." | ||
| 215 | #define unlzop_full_usage "\n\n" \ | ||
| 216 | "Options:" \ | ||
| 217 | "\n -c Write to stdout" \ | ||
| 218 | "\n -f Force" \ | ||
| 219 | "\n -v Verbose" \ | ||
| 220 | "\n -F Don't store or verify checksum" \ | ||
| 221 | |||
| 222 | #define unlzma_trivial_usage \ | ||
| 223 | "[-cf] [FILE]..." | ||
| 224 | #define unlzma_full_usage "\n\n" \ | ||
| 225 | "Decompress FILE (or stdin)\n" \ | ||
| 226 | "\nOptions:" \ | ||
| 227 | "\n -c Write to stdout" \ | ||
| 228 | "\n -f Force" \ | ||
| 229 | |||
| 230 | #define lzma_trivial_usage \ | ||
| 231 | "-d [-cf] [FILE]..." | ||
| 232 | #define lzma_full_usage "\n\n" \ | ||
| 233 | "Decompress FILE (or stdin)\n" \ | ||
| 234 | "\nOptions:" \ | ||
| 235 | "\n -d Decompress" \ | ||
| 236 | "\n -c Write to stdout" \ | ||
| 237 | "\n -f Force" \ | ||
| 238 | |||
| 239 | #define lzcat_trivial_usage \ | ||
| 240 | "FILE" | ||
| 241 | #define lzcat_full_usage "\n\n" \ | ||
| 242 | "Decompress to stdout" | ||
| 243 | |||
| 244 | #define unxz_trivial_usage \ | ||
| 245 | "[-cf] [FILE]..." | ||
| 246 | #define unxz_full_usage "\n\n" \ | ||
| 247 | "Decompress FILE (or stdin)\n" \ | ||
| 248 | "\nOptions:" \ | ||
| 249 | "\n -c Write to stdout" \ | ||
| 250 | "\n -f Force" \ | ||
| 251 | |||
| 252 | #define xz_trivial_usage \ | ||
| 253 | "-d [-cf] [FILE]..." | ||
| 254 | #define xz_full_usage "\n\n" \ | ||
| 255 | "Decompress FILE (or stdin)\n" \ | ||
| 256 | "\nOptions:" \ | ||
| 257 | "\n -d Decompress" \ | ||
| 258 | "\n -c Write to stdout" \ | ||
| 259 | "\n -f Force" \ | ||
| 260 | |||
| 261 | #define xzcat_trivial_usage \ | ||
| 262 | "FILE" | ||
| 263 | #define xzcat_full_usage "\n\n" \ | ||
| 264 | "Decompress to stdout" | ||
| 265 | |||
| 266 | #define cal_trivial_usage \ | 174 | #define cal_trivial_usage \ |
| 267 | "[-jy] [[MONTH] YEAR]" | 175 | "[-jy] [[MONTH] YEAR]" |
| 268 | #define cal_full_usage "\n\n" \ | 176 | #define cal_full_usage "\n\n" \ |
| @@ -861,48 +769,6 @@ INSERT | |||
| 861 | "\n -u dos2unix" \ | 769 | "\n -u dos2unix" \ |
| 862 | "\n -d unix2dos" \ | 770 | "\n -d unix2dos" \ |
| 863 | 771 | ||
| 864 | #define dpkg_trivial_usage \ | ||
| 865 | "[-ilCPru] [-F OPT] PACKAGE" | ||
| 866 | #define dpkg_full_usage "\n\n" \ | ||
| 867 | "Install, remove and manage Debian packages\n" \ | ||
| 868 | "\nOptions:" \ | ||
| 869 | IF_LONG_OPTS( \ | ||
| 870 | "\n -i,--install Install the package" \ | ||
| 871 | "\n -l,--list List of installed packages" \ | ||
| 872 | "\n --configure Configure an unpackaged package" \ | ||
| 873 | "\n -P,--purge Purge all files of a package" \ | ||
| 874 | "\n -r,--remove Remove all but the configuration files for a package" \ | ||
| 875 | "\n --unpack Unpack a package, but don't configure it" \ | ||
| 876 | "\n --force-depends Ignore dependency problems" \ | ||
| 877 | "\n --force-confnew Overwrite existing config files when installing" \ | ||
| 878 | "\n --force-confold Keep old config files when installing" \ | ||
| 879 | ) \ | ||
| 880 | IF_NOT_LONG_OPTS( \ | ||
| 881 | "\n -i Install the package" \ | ||
| 882 | "\n -l List of installed packages" \ | ||
| 883 | "\n -C Configure an unpackaged package" \ | ||
| 884 | "\n -P Purge all files of a package" \ | ||
| 885 | "\n -r Remove all but the configuration files for a package" \ | ||
| 886 | "\n -u Unpack a package, but don't configure it" \ | ||
| 887 | "\n -F depends Ignore dependency problems" \ | ||
| 888 | "\n -F confnew Overwrite existing config files when installing" \ | ||
| 889 | "\n -F confold Keep old config files when installing" \ | ||
| 890 | ) | ||
| 891 | |||
| 892 | #define dpkg_deb_trivial_usage \ | ||
| 893 | "[-cefxX] FILE [argument]" | ||
| 894 | #define dpkg_deb_full_usage "\n\n" \ | ||
| 895 | "Perform actions on Debian packages (.debs)\n" \ | ||
| 896 | "\nOptions:" \ | ||
| 897 | "\n -c List contents of filesystem tree" \ | ||
| 898 | "\n -e Extract control files to [argument] directory" \ | ||
| 899 | "\n -f Display control field name starting with [argument]" \ | ||
| 900 | "\n -x Extract packages filesystem tree to directory" \ | ||
| 901 | "\n -X Verbose extract" \ | ||
| 902 | |||
| 903 | #define dpkg_deb_example_usage \ | ||
| 904 | "$ dpkg-deb -X ./busybox_0.48-1_i386.deb /tmp\n" | ||
| 905 | |||
| 906 | #define du_trivial_usage \ | 772 | #define du_trivial_usage \ |
| 907 | "[-aHLdclsx" IF_FEATURE_HUMAN_READABLE("hm") "k] [FILE]..." | 773 | "[-aHLdclsx" IF_FEATURE_HUMAN_READABLE("hm") "k] [FILE]..." |
| 908 | #define du_full_usage "\n\n" \ | 774 | #define du_full_usage "\n\n" \ |
| @@ -1377,38 +1243,6 @@ INSERT | |||
| 1377 | #define getsebool_full_usage "\n\n" \ | 1243 | #define getsebool_full_usage "\n\n" \ |
| 1378 | " -a Show all selinux booleans" | 1244 | " -a Show all selinux booleans" |
| 1379 | 1245 | ||
| 1380 | #define gunzip_trivial_usage \ | ||
| 1381 | "[-cft] [FILE]..." | ||
| 1382 | #define gunzip_full_usage "\n\n" \ | ||
| 1383 | "Decompress FILEs (or stdin)\n" \ | ||
| 1384 | "\nOptions:" \ | ||
| 1385 | "\n -c Write to stdout" \ | ||
| 1386 | "\n -f Force" \ | ||
| 1387 | "\n -t Test file integrity" \ | ||
| 1388 | |||
| 1389 | #define gunzip_example_usage \ | ||
| 1390 | "$ ls -la /tmp/BusyBox*\n" \ | ||
| 1391 | "-rw-rw-r-- 1 andersen andersen 557009 Apr 11 10:55 /tmp/BusyBox-0.43.tar.gz\n" \ | ||
| 1392 | "$ gunzip /tmp/BusyBox-0.43.tar.gz\n" \ | ||
| 1393 | "$ ls -la /tmp/BusyBox*\n" \ | ||
| 1394 | "-rw-rw-r-- 1 andersen andersen 1761280 Apr 14 17:47 /tmp/BusyBox-0.43.tar\n" | ||
| 1395 | |||
| 1396 | #define gzip_trivial_usage \ | ||
| 1397 | "[-cfd] [FILE]..." | ||
| 1398 | #define gzip_full_usage "\n\n" \ | ||
| 1399 | "Compress FILEs (or stdin)\n" \ | ||
| 1400 | "\nOptions:" \ | ||
| 1401 | "\n -d Decompress" \ | ||
| 1402 | "\n -c Write to stdout" \ | ||
| 1403 | "\n -f Force" \ | ||
| 1404 | |||
| 1405 | #define gzip_example_usage \ | ||
| 1406 | "$ ls -la /tmp/busybox*\n" \ | ||
| 1407 | "-rw-rw-r-- 1 andersen andersen 1761280 Apr 14 17:47 /tmp/busybox.tar\n" \ | ||
| 1408 | "$ gzip /tmp/busybox.tar\n" \ | ||
| 1409 | "$ ls -la /tmp/busybox*\n" \ | ||
| 1410 | "-rw-rw-r-- 1 andersen andersen 554058 Apr 14 17:49 /tmp/busybox.tar.gz\n" | ||
| 1411 | |||
| 1412 | #define hdparm_trivial_usage \ | 1246 | #define hdparm_trivial_usage \ |
| 1413 | "[OPTIONS] [DEVICE]" | 1247 | "[OPTIONS] [DEVICE]" |
| 1414 | #define hdparm_full_usage "\n\n" \ | 1248 | #define hdparm_full_usage "\n\n" \ |
| @@ -2945,24 +2779,6 @@ INSERT | |||
| 2945 | "\n -e Display other/more information" \ | 2779 | "\n -e Display other/more information" \ |
| 2946 | "\n -A inet" IF_FEATURE_IPV6("{6}") " Select address family" \ | 2780 | "\n -A inet" IF_FEATURE_IPV6("{6}") " Select address family" \ |
| 2947 | 2781 | ||
| 2948 | #define rpm_trivial_usage \ | ||
| 2949 | "-i PACKAGE.rpm; rpm -qp[ildc] PACKAGE.rpm" | ||
| 2950 | #define rpm_full_usage "\n\n" \ | ||
| 2951 | "Manipulate RPM packages\n" \ | ||
| 2952 | "\nCommands:" \ | ||
| 2953 | "\n -i Install package" \ | ||
| 2954 | "\n -qp Query package" \ | ||
| 2955 | "\nOptions:" \ | ||
| 2956 | "\n -i Show information" \ | ||
| 2957 | "\n -l List contents" \ | ||
| 2958 | "\n -d List documents" \ | ||
| 2959 | "\n -c List config files" \ | ||
| 2960 | |||
| 2961 | #define rpm2cpio_trivial_usage \ | ||
| 2962 | "package.rpm" | ||
| 2963 | #define rpm2cpio_full_usage "\n\n" \ | ||
| 2964 | "Output a cpio archive of the rpm file" | ||
| 2965 | |||
| 2966 | #define rtcwake_trivial_usage \ | 2782 | #define rtcwake_trivial_usage \ |
| 2967 | "[-a | -l | -u] [-d DEV] [-m MODE] [-s SEC | -t TIME]" | 2783 | "[-a | -l | -u] [-d DEV] [-m MODE] [-s SEC | -t TIME]" |
| 2968 | #define rtcwake_full_usage "\n\n" \ | 2784 | #define rtcwake_full_usage "\n\n" \ |
| @@ -3899,14 +3715,6 @@ INSERT | |||
| 3899 | "$ uname -a\n" \ | 3715 | "$ uname -a\n" \ |
| 3900 | "Linux debian 2.4.23 #2 Tue Dec 23 17:09:10 MST 2003 i686 GNU/Linux\n" | 3716 | "Linux debian 2.4.23 #2 Tue Dec 23 17:09:10 MST 2003 i686 GNU/Linux\n" |
| 3901 | 3717 | ||
| 3902 | #define uncompress_trivial_usage \ | ||
| 3903 | "[-cf] [FILE]..." | ||
| 3904 | #define uncompress_full_usage "\n\n" \ | ||
| 3905 | "Decompress .Z file[s]\n" \ | ||
| 3906 | "\nOptions:" \ | ||
| 3907 | "\n -c Write to stdout" \ | ||
| 3908 | "\n -f Overwrite" \ | ||
| 3909 | |||
| 3910 | #define unexpand_trivial_usage \ | 3718 | #define unexpand_trivial_usage \ |
| 3911 | "[-fa][-t N] [FILE]..." | 3719 | "[-fa][-t N] [FILE]..." |
| 3912 | #define unexpand_full_usage "\n\n" \ | 3720 | #define unexpand_full_usage "\n\n" \ |
| @@ -3941,19 +3749,6 @@ INSERT | |||
| 3941 | "b\n" \ | 3749 | "b\n" \ |
| 3942 | "c\n" | 3750 | "c\n" |
| 3943 | 3751 | ||
| 3944 | #define unzip_trivial_usage \ | ||
| 3945 | "[-opts[modifiers]] FILE[.zip] [LIST] [-x XLIST] [-d DIR]" | ||
| 3946 | #define unzip_full_usage "\n\n" \ | ||
| 3947 | "Extract files from ZIP archives\n" \ | ||
| 3948 | "\nOptions:" \ | ||
| 3949 | "\n -l List archive contents (with -q for short form)" \ | ||
| 3950 | "\n -n Never overwrite files (default)" \ | ||
| 3951 | "\n -o Overwrite" \ | ||
| 3952 | "\n -p Send output to stdout" \ | ||
| 3953 | "\n -q Quiet" \ | ||
| 3954 | "\n -x XLST Exclude these files" \ | ||
| 3955 | "\n -d DIR Extract files into DIR" \ | ||
| 3956 | |||
| 3957 | #define uptime_trivial_usage \ | 3752 | #define uptime_trivial_usage \ |
| 3958 | "" | 3753 | "" |
| 3959 | #define uptime_full_usage "\n\n" \ | 3754 | #define uptime_full_usage "\n\n" \ |
| @@ -4087,11 +3882,6 @@ INSERT | |||
| 4087 | #define whoami_full_usage "\n\n" \ | 3882 | #define whoami_full_usage "\n\n" \ |
| 4088 | "Print the user name associated with the current effective user id" | 3883 | "Print the user name associated with the current effective user id" |
| 4089 | 3884 | ||
| 4090 | #define zcat_trivial_usage \ | ||
| 4091 | "FILE" | ||
| 4092 | #define zcat_full_usage "\n\n" \ | ||
| 4093 | "Decompress to stdout" | ||
| 4094 | |||
| 4095 | #define zcip_trivial_usage \ | 3885 | #define zcip_trivial_usage \ |
| 4096 | "[OPTIONS] IFACE SCRIPT" | 3886 | "[OPTIONS] IFACE SCRIPT" |
| 4097 | #define zcip_full_usage "\n\n" \ | 3887 | #define zcip_full_usage "\n\n" \ |
