diff options
Diffstat (limited to 'include/usage.h')
-rw-r--r-- | include/usage.h | 108 |
1 files changed, 72 insertions, 36 deletions
diff --git a/include/usage.h b/include/usage.h index d53b86731..a9c4c4294 100644 --- a/include/usage.h +++ b/include/usage.h | |||
@@ -156,6 +156,11 @@ | |||
156 | "\n -r Repetitions" \ | 156 | "\n -r Repetitions" \ |
157 | "\n -n Start new tone" \ | 157 | "\n -n Start new tone" \ |
158 | 158 | ||
159 | #define blkid_trivial_usage \ | ||
160 | "" | ||
161 | #define blkid_full_usage "\n\n" \ | ||
162 | "Print UUIDs of all filesystems" | ||
163 | |||
159 | #define bootchartd_trivial_usage \ | 164 | #define bootchartd_trivial_usage \ |
160 | "start [PROG ARGS]|stop|init" | 165 | "start [PROG ARGS]|stop|init" |
161 | #define bootchartd_full_usage "\n\n" \ | 166 | #define bootchartd_full_usage "\n\n" \ |
@@ -189,23 +194,15 @@ | |||
189 | "\n stp BRIDGE [1/yes/on|0/no/off] STP on/off" \ | 194 | "\n stp BRIDGE [1/yes/on|0/no/off] STP on/off" \ |
190 | ) \ | 195 | ) \ |
191 | 196 | ||
192 | #define bunzip2_trivial_usage \ | ||
193 | "[OPTIONS] [FILE]..." | ||
194 | #define bunzip2_full_usage "\n\n" \ | ||
195 | "Uncompress FILEs (or stdin)\n" \ | ||
196 | "\nOptions:" \ | ||
197 | "\n -c Write to stdout" \ | ||
198 | "\n -f Force" \ | ||
199 | |||
200 | #define bzip2_trivial_usage \ | 197 | #define bzip2_trivial_usage \ |
201 | "[OPTIONS] [FILE]..." | 198 | "[OPTIONS] [FILE]..." |
202 | #define bzip2_full_usage "\n\n" \ | 199 | #define bzip2_full_usage "\n\n" \ |
203 | "Compress FILEs (or stdin) with bzip2 algorithm\n" \ | 200 | "Compress FILEs (or stdin) with bzip2 algorithm\n" \ |
204 | "\nOptions:" \ | 201 | "\nOptions:" \ |
205 | "\n -c Write to stdout" \ | 202 | "\n -1..9 Compression level" \ |
206 | "\n -d Decompress" \ | 203 | "\n -d Decompress" \ |
204 | "\n -c Write to stdout" \ | ||
207 | "\n -f Force" \ | 205 | "\n -f Force" \ |
208 | "\n -1..-9 Compression level" \ | ||
209 | 206 | ||
210 | #define busybox_notes_usage \ | 207 | #define busybox_notes_usage \ |
211 | "Hello world!\n" | 208 | "Hello world!\n" |
@@ -213,13 +210,14 @@ | |||
213 | #define lzop_trivial_usage \ | 210 | #define lzop_trivial_usage \ |
214 | "[-cfvd123456789CF] [FILE]..." | 211 | "[-cfvd123456789CF] [FILE]..." |
215 | #define lzop_full_usage "\n\n" \ | 212 | #define lzop_full_usage "\n\n" \ |
216 | " -c Write to stdout" \ | 213 | "Options:" \ |
214 | "\n -1..9 Compression level" \ | ||
215 | "\n -d Decompress" \ | ||
216 | "\n -c Write to stdout" \ | ||
217 | "\n -f Force" \ | 217 | "\n -f Force" \ |
218 | "\n -v Verbose" \ | 218 | "\n -v Verbose" \ |
219 | "\n -d Decompress" \ | ||
220 | "\n -F Don't store or verify checksum" \ | 219 | "\n -F Don't store or verify checksum" \ |
221 | "\n -C Also write checksum of compressed block" \ | 220 | "\n -C Also write checksum of compressed block" \ |
222 | "\n -1..9 Compression level" \ | ||
223 | 221 | ||
224 | #define lzopcat_trivial_usage \ | 222 | #define lzopcat_trivial_usage \ |
225 | "[-vCF] [FILE]..." | 223 | "[-vCF] [FILE]..." |
@@ -230,28 +228,68 @@ | |||
230 | #define unlzop_trivial_usage \ | 228 | #define unlzop_trivial_usage \ |
231 | "[-cfvCF] [FILE]..." | 229 | "[-cfvCF] [FILE]..." |
232 | #define unlzop_full_usage "\n\n" \ | 230 | #define unlzop_full_usage "\n\n" \ |
233 | " -c Write to stdout" \ | 231 | "Options:" \ |
232 | "\n -c Write to stdout" \ | ||
234 | "\n -f Force" \ | 233 | "\n -f Force" \ |
235 | "\n -v Verbose" \ | 234 | "\n -v Verbose" \ |
236 | "\n -F Don't store or verify checksum" \ | 235 | "\n -F Don't store or verify checksum" \ |
237 | 236 | ||
237 | #define bunzip2_trivial_usage \ | ||
238 | "[OPTIONS] [FILE]..." | ||
239 | #define bunzip2_full_usage "\n\n" \ | ||
240 | "Decompress FILEs (or stdin)\n" \ | ||
241 | "\nOptions:" \ | ||
242 | "\n -c Write to stdout" \ | ||
243 | "\n -f Force" \ | ||
244 | |||
238 | #define bzcat_trivial_usage \ | 245 | #define bzcat_trivial_usage \ |
239 | "FILE" | 246 | "FILE" |
240 | #define bzcat_full_usage "\n\n" \ | 247 | #define bzcat_full_usage "\n\n" \ |
241 | "Uncompress to stdout" | 248 | "Decompress to stdout" |
242 | 249 | ||
243 | #define unlzma_trivial_usage \ | 250 | #define unlzma_trivial_usage \ |
244 | "[OPTIONS] [FILE]..." | 251 | "[OPTIONS] [FILE]..." |
245 | #define unlzma_full_usage "\n\n" \ | 252 | #define unlzma_full_usage "\n\n" \ |
246 | "Uncompress FILE (or stdin)\n" \ | 253 | "Decompress FILE (or stdin)\n" \ |
254 | "\nOptions:" \ | ||
255 | "\n -c Write to stdout" \ | ||
256 | "\n -f Force" \ | ||
257 | |||
258 | #define lzma_trivial_usage \ | ||
259 | "-d [OPTIONS] [FILE]..." | ||
260 | #define lzma_full_usage "\n\n" \ | ||
261 | "Decompress FILE (or stdin)\n" \ | ||
262 | "\nOptions:" \ | ||
263 | "\n -d Decompress" \ | ||
264 | "\n -c Write to stdout" \ | ||
265 | "\n -f Force" \ | ||
266 | |||
267 | #define lzcat_trivial_usage \ | ||
268 | "FILE" | ||
269 | #define lzcat_full_usage "\n\n" \ | ||
270 | "Decompress to stdout" | ||
271 | |||
272 | #define unxz_trivial_usage \ | ||
273 | "[OPTIONS] [FILE]..." | ||
274 | #define unxz_full_usage "\n\n" \ | ||
275 | "Decompress FILE (or stdin)\n" \ | ||
247 | "\nOptions:" \ | 276 | "\nOptions:" \ |
248 | "\n -c Write to stdout" \ | 277 | "\n -c Write to stdout" \ |
249 | "\n -f Force" \ | 278 | "\n -f Force" \ |
250 | 279 | ||
251 | #define lzmacat_trivial_usage \ | 280 | #define xz_trivial_usage \ |
281 | "-d [OPTIONS] [FILE]..." | ||
282 | #define xz_full_usage "\n\n" \ | ||
283 | "Decompress FILE (or stdin)\n" \ | ||
284 | "\nOptions:" \ | ||
285 | "\n -d Decompress" \ | ||
286 | "\n -c Write to stdout" \ | ||
287 | "\n -f Force" \ | ||
288 | |||
289 | #define xzcat_trivial_usage \ | ||
252 | "FILE" | 290 | "FILE" |
253 | #define lzmacat_full_usage "\n\n" \ | 291 | #define xzcat_full_usage "\n\n" \ |
254 | "Uncompress to stdout" | 292 | "Decompress to stdout" |
255 | 293 | ||
256 | #define cal_trivial_usage \ | 294 | #define cal_trivial_usage \ |
257 | "[-jy] [[MONTH] YEAR]" | 295 | "[-jy] [[MONTH] YEAR]" |
@@ -262,11 +300,9 @@ | |||
262 | "\n -y Display the entire year" \ | 300 | "\n -y Display the entire year" \ |
263 | 301 | ||
264 | #define cat_trivial_usage \ | 302 | #define cat_trivial_usage \ |
265 | "[-u] [FILE]..." | 303 | "[FILE]..." |
266 | #define cat_full_usage "\n\n" \ | 304 | #define cat_full_usage "\n\n" \ |
267 | "Concatenate FILEs and print them to stdout\n" \ | 305 | "Concatenate FILEs and print them to stdout" \ |
268 | "\nOptions:" \ | ||
269 | "\n -u Use unbuffered i/o (ignored)" \ | ||
270 | 306 | ||
271 | #define cat_example_usage \ | 307 | #define cat_example_usage \ |
272 | "$ cat /proc/uptime\n" \ | 308 | "$ cat /proc/uptime\n" \ |
@@ -555,7 +591,7 @@ | |||
555 | "\n -L Follow all symlinks" \ | 591 | "\n -L Follow all symlinks" \ |
556 | "\n -H Follow symlinks on command line" \ | 592 | "\n -H Follow symlinks on command line" \ |
557 | "\n -p Preserve file attributes if possible" \ | 593 | "\n -p Preserve file attributes if possible" \ |
558 | "\n -f Force overwrite" \ | 594 | "\n -f Overwrite" \ |
559 | "\n -i Prompt before overwrite" \ | 595 | "\n -i Prompt before overwrite" \ |
560 | "\n -l,-s Create (sym)links" \ | 596 | "\n -l,-s Create (sym)links" \ |
561 | 597 | ||
@@ -1243,10 +1279,10 @@ | |||
1243 | "\n -H HEADS" \ | 1279 | "\n -H HEADS" \ |
1244 | "\n -S SECTORS" \ | 1280 | "\n -S SECTORS" \ |
1245 | 1281 | ||
1246 | #define blkid_trivial_usage \ | 1282 | #define fgconsole_trivial_usage \ |
1247 | "" | 1283 | "" |
1248 | #define blkid_full_usage "\n\n" \ | 1284 | #define fgconsole_full_usage "\n\n" \ |
1249 | "Print UUIDs of all filesystems" | 1285 | "Get active console" |
1250 | 1286 | ||
1251 | #define findfs_trivial_usage \ | 1287 | #define findfs_trivial_usage \ |
1252 | "LABEL=label or UUID=uuid" | 1288 | "LABEL=label or UUID=uuid" |
@@ -1605,7 +1641,7 @@ | |||
1605 | #define gunzip_trivial_usage \ | 1641 | #define gunzip_trivial_usage \ |
1606 | "[OPTIONS] [FILE]..." | 1642 | "[OPTIONS] [FILE]..." |
1607 | #define gunzip_full_usage "\n\n" \ | 1643 | #define gunzip_full_usage "\n\n" \ |
1608 | "Uncompress FILEs (or stdin)\n" \ | 1644 | "Decompress FILEs (or stdin)\n" \ |
1609 | "\nOptions:" \ | 1645 | "\nOptions:" \ |
1610 | "\n -c Write to stdout" \ | 1646 | "\n -c Write to stdout" \ |
1611 | "\n -f Force" \ | 1647 | "\n -f Force" \ |
@@ -1623,8 +1659,8 @@ | |||
1623 | #define gzip_full_usage "\n\n" \ | 1659 | #define gzip_full_usage "\n\n" \ |
1624 | "Compress FILEs (or stdin)\n" \ | 1660 | "Compress FILEs (or stdin)\n" \ |
1625 | "\nOptions:" \ | 1661 | "\nOptions:" \ |
1626 | "\n -c Write to stdout" \ | ||
1627 | "\n -d Decompress" \ | 1662 | "\n -d Decompress" \ |
1663 | "\n -c Write to stdout" \ | ||
1628 | "\n -f Force" \ | 1664 | "\n -f Force" \ |
1629 | 1665 | ||
1630 | #define gzip_example_usage \ | 1666 | #define gzip_example_usage \ |
@@ -4972,10 +5008,10 @@ | |||
4972 | #define uncompress_trivial_usage \ | 5008 | #define uncompress_trivial_usage \ |
4973 | "[-cf] [FILE]..." | 5009 | "[-cf] [FILE]..." |
4974 | #define uncompress_full_usage "\n\n" \ | 5010 | #define uncompress_full_usage "\n\n" \ |
4975 | "Uncompress .Z file[s]\n" \ | 5011 | "Decompress .Z file[s]\n" \ |
4976 | "\nOptions:" \ | 5012 | "\nOptions:" \ |
4977 | "\n -c Extract to stdout" \ | 5013 | "\n -c Write to stdout" \ |
4978 | "\n -f Overwrite an existing file" \ | 5014 | "\n -f Overwrite" \ |
4979 | 5015 | ||
4980 | #define unexpand_trivial_usage \ | 5016 | #define unexpand_trivial_usage \ |
4981 | "[-fa][-t N] [FILE]..." | 5017 | "[-fa][-t N] [FILE]..." |
@@ -5017,8 +5053,8 @@ | |||
5017 | "Extract files from ZIP archives\n" \ | 5053 | "Extract files from ZIP archives\n" \ |
5018 | "\nOptions:" \ | 5054 | "\nOptions:" \ |
5019 | "\n -l List archive contents (with -q for short form)" \ | 5055 | "\n -l List archive contents (with -q for short form)" \ |
5020 | "\n -n Never overwrite existing files (default)" \ | 5056 | "\n -n Never overwrite files (default)" \ |
5021 | "\n -o Overwrite files without prompting" \ | 5057 | "\n -o Overwrite" \ |
5022 | "\n -p Send output to stdout" \ | 5058 | "\n -p Send output to stdout" \ |
5023 | "\n -q Quiet" \ | 5059 | "\n -q Quiet" \ |
5024 | "\n -x XLST Exclude these files" \ | 5060 | "\n -x XLST Exclude these files" \ |
@@ -5219,7 +5255,7 @@ | |||
5219 | #define zcat_trivial_usage \ | 5255 | #define zcat_trivial_usage \ |
5220 | "FILE" | 5256 | "FILE" |
5221 | #define zcat_full_usage "\n\n" \ | 5257 | #define zcat_full_usage "\n\n" \ |
5222 | "Uncompress to stdout" | 5258 | "Decompress to stdout" |
5223 | 5259 | ||
5224 | #define zcip_trivial_usage \ | 5260 | #define zcip_trivial_usage \ |
5225 | "[OPTIONS] IFACE SCRIPT" | 5261 | "[OPTIONS] IFACE SCRIPT" |