diff options
Diffstat (limited to 'include')
-rw-r--r-- | include/applets.h | 7 | ||||
-rw-r--r-- | include/libbb.h | 2 | ||||
-rw-r--r-- | include/unarchive.h | 11 | ||||
-rw-r--r-- | include/unicode.h | 6 | ||||
-rw-r--r-- | include/usage.h | 108 |
5 files changed, 92 insertions, 42 deletions
diff --git a/include/applets.h b/include/applets.h index ff8799c63..d8a706b44 100644 --- a/include/applets.h +++ b/include/applets.h | |||
@@ -157,6 +157,7 @@ IF_FBSPLASH(APPLET(fbsplash, _BB_DIR_SBIN, _BB_SUID_DROP)) | |||
157 | IF_FDFLUSH(APPLET_ODDNAME(fdflush, freeramdisk, _BB_DIR_BIN, _BB_SUID_DROP, fdflush)) | 157 | IF_FDFLUSH(APPLET_ODDNAME(fdflush, freeramdisk, _BB_DIR_BIN, _BB_SUID_DROP, fdflush)) |
158 | IF_FDFORMAT(APPLET(fdformat, _BB_DIR_USR_BIN, _BB_SUID_DROP)) | 158 | IF_FDFORMAT(APPLET(fdformat, _BB_DIR_USR_BIN, _BB_SUID_DROP)) |
159 | IF_FDISK(APPLET(fdisk, _BB_DIR_SBIN, _BB_SUID_DROP)) | 159 | IF_FDISK(APPLET(fdisk, _BB_DIR_SBIN, _BB_SUID_DROP)) |
160 | IF_FGCONSOLE(APPLET(fgconsole, _BB_DIR_USR_BIN, _BB_SUID_DROP)) | ||
160 | IF_FEATURE_GREP_FGREP_ALIAS(APPLET_ODDNAME(fgrep, grep, _BB_DIR_BIN, _BB_SUID_DROP, fgrep)) | 161 | IF_FEATURE_GREP_FGREP_ALIAS(APPLET_ODDNAME(fgrep, grep, _BB_DIR_BIN, _BB_SUID_DROP, fgrep)) |
161 | IF_FIND(APPLET_NOEXEC(find, find, _BB_DIR_USR_BIN, _BB_SUID_DROP, find)) | 162 | IF_FIND(APPLET_NOEXEC(find, find, _BB_DIR_USR_BIN, _BB_SUID_DROP, find)) |
162 | IF_FINDFS(APPLET(findfs, _BB_DIR_SBIN, _BB_SUID_MAYBE)) | 163 | IF_FINDFS(APPLET(findfs, _BB_DIR_SBIN, _BB_SUID_MAYBE)) |
@@ -252,7 +253,8 @@ IF_LSMOD(APPLET(lsmod, _BB_DIR_SBIN, _BB_SUID_DROP)) | |||
252 | IF_MODPROBE_SMALL(APPLET_ODDNAME(lsmod, modprobe, _BB_DIR_SBIN, _BB_SUID_DROP, modprobe)) | 253 | IF_MODPROBE_SMALL(APPLET_ODDNAME(lsmod, modprobe, _BB_DIR_SBIN, _BB_SUID_DROP, modprobe)) |
253 | IF_LSPCI(APPLET(lspci, _BB_DIR_USR_BIN, _BB_SUID_DROP)) | 254 | IF_LSPCI(APPLET(lspci, _BB_DIR_USR_BIN, _BB_SUID_DROP)) |
254 | IF_LSUSB(APPLET(lsusb, _BB_DIR_USR_BIN, _BB_SUID_DROP)) | 255 | IF_LSUSB(APPLET(lsusb, _BB_DIR_USR_BIN, _BB_SUID_DROP)) |
255 | IF_UNLZMA(APPLET_ODDNAME(lzmacat, unlzma, _BB_DIR_USR_BIN, _BB_SUID_DROP, lzmacat)) | 256 | IF_UNLZMA(APPLET_ODDNAME(lzcat, unlzma, _BB_DIR_USR_BIN, _BB_SUID_DROP, lzcat)) |
257 | IF_LZMA(APPLET_ODDNAME(lzma, unlzma, _BB_DIR_USR_BIN, _BB_SUID_DROP, lzma)) | ||
256 | IF_LZOP(APPLET(lzop, _BB_DIR_BIN, _BB_SUID_DROP)) | 258 | IF_LZOP(APPLET(lzop, _BB_DIR_BIN, _BB_SUID_DROP)) |
257 | IF_LZOP(APPLET_ODDNAME(lzopcat, lzop, _BB_DIR_USR_BIN, _BB_SUID_DROP, lzopcat)) | 259 | IF_LZOP(APPLET_ODDNAME(lzopcat, lzop, _BB_DIR_USR_BIN, _BB_SUID_DROP, lzopcat)) |
258 | IF_MAKEDEVS(APPLET(makedevs, _BB_DIR_SBIN, _BB_SUID_DROP)) | 260 | IF_MAKEDEVS(APPLET(makedevs, _BB_DIR_SBIN, _BB_SUID_DROP)) |
@@ -417,6 +419,7 @@ IF_UNCOMPRESS(APPLET(uncompress, _BB_DIR_BIN, _BB_SUID_DROP)) | |||
417 | IF_UNEXPAND(APPLET_ODDNAME(unexpand, expand, _BB_DIR_USR_BIN, _BB_SUID_DROP, unexpand)) | 419 | IF_UNEXPAND(APPLET_ODDNAME(unexpand, expand, _BB_DIR_USR_BIN, _BB_SUID_DROP, unexpand)) |
418 | IF_UNIQ(APPLET(uniq, _BB_DIR_USR_BIN, _BB_SUID_DROP)) | 420 | IF_UNIQ(APPLET(uniq, _BB_DIR_USR_BIN, _BB_SUID_DROP)) |
419 | IF_UNIX2DOS(APPLET_ODDNAME(unix2dos, dos2unix, _BB_DIR_USR_BIN, _BB_SUID_DROP, unix2dos)) | 421 | IF_UNIX2DOS(APPLET_ODDNAME(unix2dos, dos2unix, _BB_DIR_USR_BIN, _BB_SUID_DROP, unix2dos)) |
422 | IF_UNXZ(APPLET(unxz, _BB_DIR_USR_BIN, _BB_SUID_DROP)) | ||
420 | IF_UNLZMA(APPLET(unlzma, _BB_DIR_USR_BIN, _BB_SUID_DROP)) | 423 | IF_UNLZMA(APPLET(unlzma, _BB_DIR_USR_BIN, _BB_SUID_DROP)) |
421 | IF_LZOP(APPLET_ODDNAME(unlzop, lzop, _BB_DIR_USR_BIN, _BB_SUID_DROP, unlzop)) | 424 | IF_LZOP(APPLET_ODDNAME(unlzop, lzop, _BB_DIR_USR_BIN, _BB_SUID_DROP, unlzop)) |
422 | IF_UNZIP(APPLET(unzip, _BB_DIR_USR_BIN, _BB_SUID_DROP)) | 425 | IF_UNZIP(APPLET(unzip, _BB_DIR_USR_BIN, _BB_SUID_DROP)) |
@@ -437,6 +440,8 @@ IF_WHICH(APPLET(which, _BB_DIR_USR_BIN, _BB_SUID_DROP)) | |||
437 | IF_WHO(APPLET(who, _BB_DIR_USR_BIN, _BB_SUID_DROP)) | 440 | IF_WHO(APPLET(who, _BB_DIR_USR_BIN, _BB_SUID_DROP)) |
438 | IF_WHOAMI(APPLET_NOFORK(whoami, whoami, _BB_DIR_USR_BIN, _BB_SUID_DROP, whoami)) | 441 | IF_WHOAMI(APPLET_NOFORK(whoami, whoami, _BB_DIR_USR_BIN, _BB_SUID_DROP, whoami)) |
439 | IF_XARGS(APPLET_NOEXEC(xargs, xargs, _BB_DIR_USR_BIN, _BB_SUID_DROP, xargs)) | 442 | IF_XARGS(APPLET_NOEXEC(xargs, xargs, _BB_DIR_USR_BIN, _BB_SUID_DROP, xargs)) |
443 | IF_UNXZ(APPLET_ODDNAME(xzcat, unxz, _BB_DIR_USR_BIN, _BB_SUID_DROP, xzcat)) | ||
444 | IF_XZ(APPLET_ODDNAME(xz, unxz, _BB_DIR_USR_BIN, _BB_SUID_DROP, xz)) | ||
440 | IF_YES(APPLET_NOFORK(yes, yes, _BB_DIR_USR_BIN, _BB_SUID_DROP, yes)) | 445 | IF_YES(APPLET_NOFORK(yes, yes, _BB_DIR_USR_BIN, _BB_SUID_DROP, yes)) |
441 | IF_GUNZIP(APPLET_ODDNAME(zcat, gunzip, _BB_DIR_BIN, _BB_SUID_DROP, zcat)) | 446 | IF_GUNZIP(APPLET_ODDNAME(zcat, gunzip, _BB_DIR_BIN, _BB_SUID_DROP, zcat)) |
442 | IF_ZCIP(APPLET(zcip, _BB_DIR_SBIN, _BB_SUID_DROP)) | 447 | IF_ZCIP(APPLET(zcip, _BB_DIR_SBIN, _BB_SUID_DROP)) |
diff --git a/include/libbb.h b/include/libbb.h index 58a5968c5..c9b3ffaa0 100644 --- a/include/libbb.h +++ b/include/libbb.h | |||
@@ -669,7 +669,7 @@ extern void *xmalloc_open_read_close(const char *filename, size_t *maxsz_p) FAST | |||
669 | || ENABLE_FEATURE_SEAMLESS_BZ2 \ | 669 | || ENABLE_FEATURE_SEAMLESS_BZ2 \ |
670 | || ENABLE_FEATURE_SEAMLESS_GZ \ | 670 | || ENABLE_FEATURE_SEAMLESS_GZ \ |
671 | /* || ENABLE_FEATURE_SEAMLESS_Z */ | 671 | /* || ENABLE_FEATURE_SEAMLESS_Z */ |
672 | extern int setup_unzip_on_fd(int fd /*, int fail_if_not_detected*/) FAST_FUNC; | 672 | extern void setup_unzip_on_fd(int fd /*, int fail_if_not_detected*/) FAST_FUNC; |
673 | #else | 673 | #else |
674 | # define setup_unzip_on_fd(...) ((void)0) | 674 | # define setup_unzip_on_fd(...) ((void)0) |
675 | #endif | 675 | #endif |
diff --git a/include/unarchive.h b/include/unarchive.h index a834816ba..aa7ecec55 100644 --- a/include/unarchive.h +++ b/include/unarchive.h | |||
@@ -143,19 +143,24 @@ typedef struct inflate_unzip_result { | |||
143 | } inflate_unzip_result; | 143 | } inflate_unzip_result; |
144 | 144 | ||
145 | IF_DESKTOP(long long) int inflate_unzip(inflate_unzip_result *res, off_t compr_size, int src_fd, int dst_fd) FAST_FUNC; | 145 | IF_DESKTOP(long long) int inflate_unzip(inflate_unzip_result *res, off_t compr_size, int src_fd, int dst_fd) FAST_FUNC; |
146 | /* xz unpacker takes .xz stream from offset 0 */ | ||
147 | IF_DESKTOP(long long) int unpack_xz_stream(int src_fd, int dst_fd) FAST_FUNC; | ||
146 | /* lzma unpacker takes .lzma stream from offset 0 */ | 148 | /* lzma unpacker takes .lzma stream from offset 0 */ |
147 | IF_DESKTOP(long long) int unpack_lzma_stream(int src_fd, int dst_fd) FAST_FUNC; | 149 | IF_DESKTOP(long long) int unpack_lzma_stream(int src_fd, int dst_fd) FAST_FUNC; |
148 | /* the rest wants 2 first bytes already skipped by the caller */ | 150 | /* the rest wants 2 first bytes already skipped by the caller */ |
149 | IF_DESKTOP(long long) int unpack_bz2_stream(int src_fd, int dst_fd) FAST_FUNC; | 151 | IF_DESKTOP(long long) int unpack_bz2_stream(int src_fd, int dst_fd) FAST_FUNC; |
150 | IF_DESKTOP(long long) int unpack_gz_stream(int src_fd, int dst_fd) FAST_FUNC; | 152 | IF_DESKTOP(long long) int unpack_gz_stream(int src_fd, int dst_fd) FAST_FUNC; |
151 | IF_DESKTOP(long long) int unpack_gz_stream_with_info(int src_fd, int dst_fd, unpack_info_t *info) FAST_FUNC; | 153 | IF_DESKTOP(long long) int unpack_gz_stream_with_info(int src_fd, int dst_fd, unpack_info_t *info) FAST_FUNC; |
152 | IF_DESKTOP(long long) int unpack_Z_stream(int fd_in, int fd_out) FAST_FUNC; | 154 | IF_DESKTOP(long long) int unpack_Z_stream(int src_fd, int dst_fd) FAST_FUNC; |
153 | /* wrapper which checks first two bytes to be "BZ" */ | 155 | /* wrapper which checks first two bytes to be "BZ" */ |
154 | IF_DESKTOP(long long) int unpack_bz2_stream_prime(int src_fd, int dst_fd) FAST_FUNC; | 156 | IF_DESKTOP(long long) int unpack_bz2_stream_prime(int src_fd, int dst_fd) FAST_FUNC; |
155 | 157 | ||
158 | char* append_ext(char *filename, const char *expected_ext) FAST_FUNC; | ||
156 | int bbunpack(char **argv, | 159 | int bbunpack(char **argv, |
157 | char* (*make_new_name)(char *filename), | 160 | IF_DESKTOP(long long) int FAST_FUNC (*unpacker)(unpack_info_t *info), |
158 | IF_DESKTOP(long long) int (*unpacker)(unpack_info_t *info)) FAST_FUNC; | 161 | char* FAST_FUNC (*make_new_name)(char *filename, const char *expected_ext), |
162 | const char *expected_ext | ||
163 | ) FAST_FUNC; | ||
159 | 164 | ||
160 | #if BB_MMU | 165 | #if BB_MMU |
161 | void open_transformer(int fd, | 166 | void open_transformer(int fd, |
diff --git a/include/unicode.h b/include/unicode.h index eaf67c833..e9e2bd14a 100644 --- a/include/unicode.h +++ b/include/unicode.h | |||
@@ -23,7 +23,8 @@ enum { | |||
23 | 23 | ||
24 | #if !ENABLE_UNICODE_SUPPORT | 24 | #if !ENABLE_UNICODE_SUPPORT |
25 | 25 | ||
26 | # define unicode_strlen(string) strlen(string) | 26 | # define unicode_strlen(string) strlen(string) |
27 | # define unicode_strwidth(string) strlen(string) | ||
27 | # define unicode_status UNICODE_OFF | 28 | # define unicode_status UNICODE_OFF |
28 | # define init_unicode() ((void)0) | 29 | # define init_unicode() ((void)0) |
29 | 30 | ||
@@ -49,7 +50,10 @@ enum { | |||
49 | # define ENABLE_UNICODE_BIDI_SUPPORT 0 | 50 | # define ENABLE_UNICODE_BIDI_SUPPORT 0 |
50 | # endif | 51 | # endif |
51 | 52 | ||
53 | /* Number of unicode chars. Falls back to strlen() on invalid unicode */ | ||
52 | size_t FAST_FUNC unicode_strlen(const char *string); | 54 | size_t FAST_FUNC unicode_strlen(const char *string); |
55 | /* Width on terminal */ | ||
56 | size_t FAST_FUNC unicode_strwidth(const char *string); | ||
53 | enum { | 57 | enum { |
54 | UNI_FLAG_PAD = (1 << 0), | 58 | UNI_FLAG_PAD = (1 << 0), |
55 | }; | 59 | }; |
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" |