9 |
* or |
* or |
10 |
* |<5 spaces>"\ntext with tabs".... |
* |<5 spaces>"\ntext with tabs".... |
11 |
*/ |
*/ |
12 |
|
#ifndef BB_USAGE_H |
13 |
#ifndef __BB_USAGE_H__ |
#define BB_USAGE_H 1 |
|
#define __BB_USAGE_H__ |
|
14 |
|
|
15 |
|
|
16 |
#define NOUSAGE_STR "\b" |
#define NOUSAGE_STR "\b" |
17 |
|
|
18 |
|
#define acpid_trivial_usage \ |
19 |
|
"[-d] [-c CONFDIR] [-l LOGFILE] [-e PROC_EVENT_FILE] [EVDEV_EVENT_FILE]..." |
20 |
|
#define acpid_full_usage "\n\n" \ |
21 |
|
"Listen to ACPI events and spawn specific helpers on event arrival\n" \ |
22 |
|
"\nOptions:" \ |
23 |
|
"\n -d Don't daemonize, log to stderr" \ |
24 |
|
"\n -c DIR Config directory [/etc/acpi]" \ |
25 |
|
"\n -e FILE /proc event file [/proc/acpi/event]" \ |
26 |
|
"\n -l FILE Log file [/var/log/acpid]" \ |
27 |
|
IF_FEATURE_ACPID_COMPAT( \ |
28 |
|
"\n\nAccept and ignore compatibility options -g -m -s -S -v" \ |
29 |
|
) |
30 |
|
|
31 |
|
#define acpid_example_usage \ |
32 |
|
"# acpid -l /var/log/my-acpi-log\n" \ |
33 |
|
"# acpid -d /dev/input/event*\n" |
34 |
|
|
35 |
#define addgroup_trivial_usage \ |
#define addgroup_trivial_usage \ |
36 |
"[-g GID] " USE_FEATURE_ADDUSER_TO_GROUP("[user_name] ") "group_name" |
"[-g GID] " IF_FEATURE_ADDUSER_TO_GROUP("[USER] ") "GROUP" |
37 |
#define addgroup_full_usage "\n\n" \ |
#define addgroup_full_usage "\n\n" \ |
38 |
"Add a group " USE_FEATURE_ADDUSER_TO_GROUP("or add an user to a group") "\n" \ |
"Add a group " IF_FEATURE_ADDUSER_TO_GROUP("or add a user to a group") "\n" \ |
39 |
"\nOptions:" \ |
"\nOptions:" \ |
40 |
"\n -g GID Group id" \ |
"\n -g GID Group id" \ |
41 |
|
"\n -S Create a system group" \ |
42 |
|
|
43 |
#define adduser_trivial_usage \ |
#define adduser_trivial_usage \ |
44 |
"[OPTIONS] user_name" |
"[OPTIONS] USER" |
45 |
#define adduser_full_usage "\n\n" \ |
#define adduser_full_usage "\n\n" \ |
46 |
"Add an user\n" \ |
"Add a user\n" \ |
47 |
"\nOptions:" \ |
"\nOptions:" \ |
48 |
"\n -h DIR Home directory" \ |
"\n -h DIR Home directory" \ |
49 |
"\n -g GECOS GECOS field" \ |
"\n -g GECOS GECOS field" \ |
50 |
"\n -s SHELL Login shell" \ |
"\n -s SHELL Login shell" \ |
51 |
"\n -G GROUP Add user to existing group" \ |
"\n -G GRP Add user to existing group" \ |
52 |
"\n -S Create a system user" \ |
"\n -S Create a system user" \ |
53 |
"\n -D Do not assign a password" \ |
"\n -D Don't assign a password" \ |
54 |
"\n -H Do not create home directory" \ |
"\n -H Don't create home directory" \ |
55 |
|
"\n -u UID User id" \ |
56 |
|
|
57 |
#define adjtimex_trivial_usage \ |
#define adjtimex_trivial_usage \ |
58 |
"[-q] [-o offset] [-f frequency] [-p timeconstant] [-t tick]" |
"[-q] [-o OFF] [-f FREQ] [-p TCONST] [-t TICK]" |
59 |
#define adjtimex_full_usage "\n\n" \ |
#define adjtimex_full_usage "\n\n" \ |
60 |
"Read and optionally set system timebase parameters. See adjtimex(2).\n" \ |
"Read and optionally set system timebase parameters. See adjtimex(2)\n" \ |
61 |
"\nOptions:" \ |
"\nOptions:" \ |
62 |
"\n -q Quiet" \ |
"\n -q Quiet" \ |
63 |
"\n -o offset Time offset, microseconds" \ |
"\n -o OFF Time offset, microseconds" \ |
64 |
"\n -f frequency Frequency adjust, integer kernel units (65536 is 1ppm)" \ |
"\n -f FREQ Frequency adjust, integer kernel units (65536 is 1ppm)" \ |
65 |
"\n (positive values make clock run faster)" \ |
"\n (positive values make clock run faster)" \ |
66 |
"\n -t tick Microseconds per tick, usually 10000" \ |
"\n -t TICK Microseconds per tick, usually 10000" \ |
67 |
"\n -p timeconstant" \ |
"\n -p TCONST" \ |
68 |
|
|
69 |
#define ar_trivial_usage \ |
#define ar_trivial_usage \ |
70 |
"[-o] [-v] [-p] [-t] [-x] ARCHIVE FILES" |
"[-o] [-v] [-p] [-t] [-x] ARCHIVE FILES" |
78 |
"\n -v Verbose" \ |
"\n -v Verbose" \ |
79 |
|
|
80 |
#define arp_trivial_usage \ |
#define arp_trivial_usage \ |
81 |
"\n" \ |
"\n[-vn] [-H HWTYPE] [-i IF] -a [HOSTNAME]" \ |
82 |
"[-vn] [-H type] [-i if] -a [hostname]\n" \ |
"\n[-v] [-i IF] -d HOSTNAME [pub]" \ |
83 |
"[-v] [-i if] -d hostname [pub]\n" \ |
"\n[-v] [-H HWTYPE] [-i IF] -s HOSTNAME HWADDR [temp]" \ |
84 |
"[-v] [-H type] [-i if] -s hostname hw_addr [temp]\n" \ |
"\n[-v] [-H HWTYPE] [-i IF] -s HOSTNAME HWADDR [netmask MASK] pub" \ |
85 |
"[-v] [-H type] [-i if] -s hostname hw_addr [netmask nm] pub\n" \ |
"\n[-v] [-H HWTYPE] [-i IF] -Ds HOSTNAME IFACE [netmask MASK] pub" |
|
"[-v] [-H type] [-i if] -Ds hostname ifa [netmask nm] pub\n" |
|
86 |
#define arp_full_usage "\n\n" \ |
#define arp_full_usage "\n\n" \ |
87 |
"Manipulate ARP cache\n" \ |
"Manipulate ARP cache\n" \ |
88 |
"\nOptions:" \ |
"\nOptions:" \ |
97 |
"\n -H HWTYPE Hardware address type" \ |
"\n -H HWTYPE Hardware address type" \ |
98 |
|
|
99 |
#define arping_trivial_usage \ |
#define arping_trivial_usage \ |
100 |
"[-fqbDUA] [-c count] [-w timeout] [-I dev] [-s sender] target" |
"[-fqbDUA] [-c CNT] [-w TIMEOUT] [-I IFACE] [-s SRC_IP] DST_IP" |
101 |
#define arping_full_usage "\n\n" \ |
#define arping_full_usage "\n\n" \ |
102 |
"Send ARP requests/replies\n" \ |
"Send ARP requests/replies\n" \ |
103 |
"\nOptions:" \ |
"\nOptions:" \ |
108 |
"\n -U Unsolicited ARP mode, update your neighbors" \ |
"\n -U Unsolicited ARP mode, update your neighbors" \ |
109 |
"\n -A ARP answer mode, update your neighbors" \ |
"\n -A ARP answer mode, update your neighbors" \ |
110 |
"\n -c N Stop after sending N ARP requests" \ |
"\n -c N Stop after sending N ARP requests" \ |
111 |
"\n -w timeout Time to wait for ARP reply, in seconds" \ |
"\n -w TIMEOUT Time to wait for ARP reply, seconds" \ |
112 |
"\n -I dev Interface to use (default eth0)" \ |
"\n -I IFACE Interface to use (default eth0)" \ |
113 |
"\n -s sender Sender IP address" \ |
"\n -s SRC_IP Sender IP address" \ |
114 |
"\n target Target IP address" \ |
"\n DST_IP Target IP address" \ |
115 |
|
|
116 |
#define sh_trivial_usage NOUSAGE_STR |
#define sh_trivial_usage NOUSAGE_STR |
117 |
#define sh_full_usage "" |
#define sh_full_usage "" |
119 |
#define ash_full_usage "" |
#define ash_full_usage "" |
120 |
#define hush_trivial_usage NOUSAGE_STR |
#define hush_trivial_usage NOUSAGE_STR |
121 |
#define hush_full_usage "" |
#define hush_full_usage "" |
122 |
|
#define lash_trivial_usage NOUSAGE_STR |
123 |
|
#define lash_full_usage "" |
124 |
#define msh_trivial_usage NOUSAGE_STR |
#define msh_trivial_usage NOUSAGE_STR |
125 |
#define msh_full_usage "" |
#define msh_full_usage "" |
126 |
|
|
127 |
#define awk_trivial_usage \ |
#define awk_trivial_usage \ |
128 |
"[OPTION]... [program-text] [FILE...]" |
"[OPTIONS] [AWK_PROGRAM] [FILE]..." |
129 |
#define awk_full_usage "\n\n" \ |
#define awk_full_usage "\n\n" \ |
130 |
"Options:" \ |
"Options:" \ |
131 |
"\n -v var=val Set variable" \ |
"\n -v VAR=VAL Set variable" \ |
132 |
"\n -F sep Use sep as field separator" \ |
"\n -F SEP Use SEP as field separator" \ |
133 |
"\n -f file Read program from file" \ |
"\n -f FILE Read program from FILE" \ |
134 |
|
|
135 |
#define basename_trivial_usage \ |
#define basename_trivial_usage \ |
136 |
"FILE [SUFFIX]" |
"FILE [SUFFIX]" |
137 |
#define basename_full_usage "\n\n" \ |
#define basename_full_usage "\n\n" \ |
138 |
"Strip directory path and suffixes from FILE.\n" \ |
"Strip directory path and .SUFFIX from FILE\n" |
|
"If specified, also remove any trailing SUFFIX." |
|
139 |
#define basename_example_usage \ |
#define basename_example_usage \ |
140 |
"$ basename /usr/local/bin/foo\n" \ |
"$ basename /usr/local/bin/foo\n" \ |
141 |
"foo\n" \ |
"foo\n" \ |
144 |
"$ basename /foo/bar.txt .txt\n" \ |
"$ basename /foo/bar.txt .txt\n" \ |
145 |
"bar" |
"bar" |
146 |
|
|
147 |
|
#define beep_trivial_usage \ |
148 |
|
"-f FREQ -l LEN -d DELAY -r COUNT -n" |
149 |
|
#define beep_full_usage "\n\n" \ |
150 |
|
"Options:" \ |
151 |
|
"\n -f Frequency in Hz" \ |
152 |
|
"\n -l Length in ms" \ |
153 |
|
"\n -d Delay in ms" \ |
154 |
|
"\n -r Repetitions" \ |
155 |
|
"\n -n Start new tone" \ |
156 |
|
|
157 |
#define fbsplash_trivial_usage \ |
#define fbsplash_trivial_usage \ |
158 |
"-s IMGFILE [-c] [-d DEV] [-i INIFILE] [-f CMD]" |
"-s IMGFILE [-c] [-d DEV] [-i INIFILE] [-f CMD]" |
159 |
#define fbsplash_full_usage "\n\n" \ |
#define fbsplash_full_usage "\n\n" \ |
160 |
"Options:\n" \ |
"Options:" \ |
161 |
"\n -s Image" \ |
"\n -s Image" \ |
162 |
"\n -c Hide cursor" \ |
"\n -c Hide cursor" \ |
163 |
"\n -d Framebuffer device (default /dev/fb0)" \ |
"\n -d Framebuffer device (default /dev/fb0)" \ |
170 |
#define brctl_trivial_usage \ |
#define brctl_trivial_usage \ |
171 |
"COMMAND [BRIDGE [INTERFACE]]" |
"COMMAND [BRIDGE [INTERFACE]]" |
172 |
#define brctl_full_usage "\n\n" \ |
#define brctl_full_usage "\n\n" \ |
173 |
"Manage ethernet bridges.\n" \ |
"Manage ethernet bridges\n" \ |
174 |
"\nCommands:" \ |
"\nCommands:" \ |
175 |
USE_FEATURE_BRCTL_SHOW( \ |
IF_FEATURE_BRCTL_SHOW( \ |
176 |
"\n show Show a list of bridges" \ |
"\n show Show a list of bridges" \ |
177 |
) \ |
) \ |
178 |
"\n addbr BRIDGE Create BRIDGE" \ |
"\n addbr BRIDGE Create BRIDGE" \ |
179 |
"\n delbr BRIDGE Delete BRIDGE" \ |
"\n delbr BRIDGE Delete BRIDGE" \ |
180 |
"\n addif BRIDGE IFACE Add IFACE to BRIDGE" \ |
"\n addif BRIDGE IFACE Add IFACE to BRIDGE" \ |
181 |
"\n delif BRIDGE IFACE Delete IFACE from BRIDGE" \ |
"\n delif BRIDGE IFACE Delete IFACE from BRIDGE" \ |
182 |
USE_FEATURE_BRCTL_FANCY( \ |
IF_FEATURE_BRCTL_FANCY( \ |
183 |
"\n setageing BRIDGE TIME Set ageing time" \ |
"\n setageing BRIDGE TIME Set ageing time" \ |
184 |
"\n setfd BRIDGE TIME Set bridge forward delay" \ |
"\n setfd BRIDGE TIME Set bridge forward delay" \ |
185 |
"\n sethello BRIDGE TIME Set hello time" \ |
"\n sethello BRIDGE TIME Set hello time" \ |
191 |
) \ |
) \ |
192 |
|
|
193 |
#define bunzip2_trivial_usage \ |
#define bunzip2_trivial_usage \ |
194 |
"[OPTION]... [FILE]" |
"[OPTIONS] [FILE]..." |
195 |
#define bunzip2_full_usage "\n\n" \ |
#define bunzip2_full_usage "\n\n" \ |
196 |
"Uncompress FILE (or standard input if FILE is '-' or omitted)\n" \ |
"Uncompress FILEs (or stdin)\n" \ |
197 |
"\nOptions:" \ |
"\nOptions:" \ |
198 |
"\n -c Write to standard output" \ |
"\n -c Write to stdout" \ |
199 |
"\n -f Force" \ |
"\n -f Force" \ |
200 |
|
|
201 |
#define bzip2_trivial_usage \ |
#define bzip2_trivial_usage \ |
202 |
"[OPTION]... [FILE]..." |
"[OPTIONS] [FILE]..." |
203 |
#define bzip2_full_usage "\n\n" \ |
#define bzip2_full_usage "\n\n" \ |
204 |
"Compress FILE(s) with bzip2 algorithm.\n" \ |
"Compress FILEs (or stdin) with bzip2 algorithm\n" \ |
|
"When FILE is '-' or unspecified, reads standard input. Implies -c.\n" \ |
|
205 |
"\nOptions:" \ |
"\nOptions:" \ |
206 |
"\n -c Write to standard output" \ |
"\n -c Write to stdout" \ |
207 |
"\n -d Decompress" \ |
"\n -d Decompress" \ |
208 |
"\n -f Force" \ |
"\n -f Force" \ |
209 |
"\n -1..-9 Compression level" \ |
"\n -1..-9 Compression level" \ |
211 |
#define busybox_notes_usage \ |
#define busybox_notes_usage \ |
212 |
"Hello world!\n" |
"Hello world!\n" |
213 |
|
|
214 |
|
#define lzop_trivial_usage \ |
215 |
|
"[-cfvd123456789CF] [FILE]..." |
216 |
|
#define lzop_full_usage "\n\n" \ |
217 |
|
" -c Write to stdout" \ |
218 |
|
"\n -f Force" \ |
219 |
|
"\n -v Verbose" \ |
220 |
|
"\n -d Decompress" \ |
221 |
|
"\n -F Don't store or verify checksum" \ |
222 |
|
"\n -C Also write checksum of compressed block" \ |
223 |
|
"\n -1..9 Compression level" \ |
224 |
|
|
225 |
|
#define lzopcat_trivial_usage \ |
226 |
|
"[-vCF] [FILE]..." |
227 |
|
#define lzopcat_full_usage "\n\n" \ |
228 |
|
" -v Verbose" \ |
229 |
|
"\n -F Don't store or verify checksum" \ |
230 |
|
|
231 |
|
#define unlzop_trivial_usage \ |
232 |
|
"[-cfvCF] [FILE]..." |
233 |
|
#define unlzop_full_usage "\n\n" \ |
234 |
|
" -c Write to stdout" \ |
235 |
|
"\n -f Force" \ |
236 |
|
"\n -v Verbose" \ |
237 |
|
"\n -F Don't store or verify checksum" \ |
238 |
|
|
239 |
#define bzcat_trivial_usage \ |
#define bzcat_trivial_usage \ |
240 |
"FILE" |
"FILE" |
241 |
#define bzcat_full_usage "\n\n" \ |
#define bzcat_full_usage "\n\n" \ |
242 |
"Uncompress to stdout" |
"Uncompress to stdout" |
243 |
|
|
244 |
#define unlzma_trivial_usage \ |
#define unlzma_trivial_usage \ |
245 |
"[OPTION]... [FILE]" |
"[OPTIONS] [FILE]..." |
246 |
#define unlzma_full_usage "\n\n" \ |
#define unlzma_full_usage "\n\n" \ |
247 |
"Uncompress FILE (or standard input if FILE is '-' or omitted)\n" \ |
"Uncompress FILE (or stdin)\n" \ |
248 |
"\nOptions:" \ |
"\nOptions:" \ |
249 |
"\n -c Write to standard output" \ |
"\n -c Write to stdout" \ |
250 |
"\n -f Force" \ |
"\n -f Force" \ |
251 |
|
|
252 |
#define lzmacat_trivial_usage \ |
#define lzmacat_trivial_usage \ |
255 |
"Uncompress to stdout" |
"Uncompress to stdout" |
256 |
|
|
257 |
#define cal_trivial_usage \ |
#define cal_trivial_usage \ |
258 |
"[-jy] [[month] year]" |
"[-jy] [[MONTH] YEAR]" |
259 |
#define cal_full_usage "\n\n" \ |
#define cal_full_usage "\n\n" \ |
260 |
"Display a calendar\n" \ |
"Display a calendar\n" \ |
261 |
"\nOptions:" \ |
"\nOptions:" \ |
265 |
#define cat_trivial_usage \ |
#define cat_trivial_usage \ |
266 |
"[-u] [FILE]..." |
"[-u] [FILE]..." |
267 |
#define cat_full_usage "\n\n" \ |
#define cat_full_usage "\n\n" \ |
268 |
"Concatenate FILE(s) and print them to stdout\n" \ |
"Concatenate FILEs and print them to stdout\n" \ |
269 |
"\nOptions:" \ |
"\nOptions:" \ |
270 |
"\n -u Use unbuffered i/o (ignored)" \ |
"\n -u Use unbuffered i/o (ignored)" \ |
271 |
|
|
291 |
"chat '' ATZ OK ATD123456 CONNECT '' ogin: pppuser word: ppppass '~'" \ |
"chat '' ATZ OK ATD123456 CONNECT '' ogin: pppuser word: ppppass '~'" \ |
292 |
|
|
293 |
#define chattr_trivial_usage \ |
#define chattr_trivial_usage \ |
294 |
"[-R] [-+=AacDdijsStTu] [-v version] files..." |
"[-R] [-+=AacDdijsStTu] [-v VERSION] [FILE]..." |
295 |
#define chattr_full_usage "\n\n" \ |
#define chattr_full_usage "\n\n" \ |
296 |
"Change file attributes on an ext2 fs\n" \ |
"Change file attributes on an ext2 fs\n" \ |
297 |
"\nModifiers:" \ |
"\nModifiers:" \ |
303 |
"\n a Append mode only" \ |
"\n a Append mode only" \ |
304 |
"\n c Enable compress" \ |
"\n c Enable compress" \ |
305 |
"\n D Write dir contents synchronously" \ |
"\n D Write dir contents synchronously" \ |
306 |
"\n d Do not backup with dump" \ |
"\n d Don't backup with dump" \ |
307 |
"\n i Cannot be modified (immutable)" \ |
"\n i Cannot be modified (immutable)" \ |
308 |
"\n j Write all data to journal first" \ |
"\n j Write all data to journal first" \ |
309 |
"\n s Zero disk storage when deleted" \ |
"\n s Zero disk storage when deleted" \ |
311 |
"\n t Disable tail-merging of partial blocks with other files" \ |
"\n t Disable tail-merging of partial blocks with other files" \ |
312 |
"\n u Allow file to be undeleted" \ |
"\n u Allow file to be undeleted" \ |
313 |
"\nOptions:" \ |
"\nOptions:" \ |
314 |
"\n -R Recursively list subdirectories" \ |
"\n -R Recurse" \ |
315 |
"\n -v Set the file's version/generation number" \ |
"\n -v Set the file's version/generation number" \ |
316 |
|
|
317 |
#define chcon_trivial_usage \ |
#define chcon_trivial_usage \ |
318 |
"[OPTIONS] CONTEXT FILE..." \ |
"[OPTIONS] CONTEXT FILE..." \ |
319 |
"\n chcon [OPTIONS] [-u USER] [-r ROLE] [-l RANGE] [-t TYPE] FILE..." \ |
"\n chcon [OPTIONS] [-u USER] [-r ROLE] [-l RANGE] [-t TYPE] FILE..." \ |
320 |
USE_FEATURE_CHCON_LONG_OPTIONS( \ |
IF_FEATURE_CHCON_LONG_OPTIONS( \ |
321 |
"\n chcon [OPTIONS] --reference=RFILE FILE..." \ |
"\n chcon [OPTIONS] --reference=RFILE FILE..." \ |
322 |
) |
) |
323 |
#define chcon_full_usage "\n\n" \ |
#define chcon_full_usage "\n\n" \ |
324 |
"Change the security context of each FILE to CONTEXT\n" \ |
"Change the security context of each FILE to CONTEXT\n" \ |
325 |
USE_FEATURE_CHCON_LONG_OPTIONS( \ |
IF_FEATURE_CHCON_LONG_OPTIONS( \ |
326 |
"\n -v,--verbose Verbose" \ |
"\n -v,--verbose Verbose" \ |
327 |
"\n -c,--changes Report changes made" \ |
"\n -c,--changes Report changes made" \ |
328 |
"\n -h,--no-dereference Affect symlinks instead of their targets" \ |
"\n -h,--no-dereference Affect symlinks instead of their targets" \ |
332 |
"\n -r,--role=ROLE security context" \ |
"\n -r,--role=ROLE security context" \ |
333 |
"\n -t,--type=TYPE" \ |
"\n -t,--type=TYPE" \ |
334 |
"\n -l,--range=RANGE" \ |
"\n -l,--range=RANGE" \ |
335 |
"\n -R,--recursive Recurse subdirectories" \ |
"\n -R,--recursive Recurse" \ |
336 |
) \ |
) \ |
337 |
SKIP_FEATURE_CHCON_LONG_OPTIONS( \ |
IF_NOT_FEATURE_CHCON_LONG_OPTIONS( \ |
338 |
"\n -v Verbose" \ |
"\n -v Verbose" \ |
339 |
"\n -c Report changes made" \ |
"\n -c Report changes made" \ |
340 |
"\n -h Affect symlinks instead of their targets" \ |
"\n -h Affect symlinks instead of their targets" \ |
343 |
"\n -r ROLE" \ |
"\n -r ROLE" \ |
344 |
"\n -t TYPE" \ |
"\n -t TYPE" \ |
345 |
"\n -l RNG" \ |
"\n -l RNG" \ |
346 |
"\n -R Recurse subdirectories" \ |
"\n -R Recurse" \ |
347 |
) |
) |
348 |
|
|
349 |
#define chmod_trivial_usage \ |
#define chmod_trivial_usage \ |
350 |
"[-R"USE_DESKTOP("cvf")"] MODE[,MODE]... FILE..." |
"[-R"IF_DESKTOP("cvf")"] MODE[,MODE]... FILE..." |
351 |
#define chmod_full_usage "\n\n" \ |
#define chmod_full_usage "\n\n" \ |
352 |
"Each MODE is one or more of the letters ugoa, one of the\n" \ |
"Each MODE is one or more of the letters ugoa, one of the\n" \ |
353 |
"symbols +-= and one or more of the letters rwxst\n" \ |
"symbols +-= and one or more of the letters rwxst\n" \ |
354 |
"\nOptions:" \ |
"\nOptions:" \ |
355 |
"\n -R Recurse directories" \ |
"\n -R Recurse" \ |
356 |
USE_DESKTOP( \ |
IF_DESKTOP( \ |
357 |
"\n -c List changed files" \ |
"\n -c List changed files" \ |
358 |
"\n -v List all files" \ |
"\n -v List all files" \ |
359 |
"\n -f Hide errors" \ |
"\n -f Hide errors" \ |
369 |
"-r--r--r-- 1 root root 0 Apr 12 18:25 /tmp/foo\n" |
"-r--r--r-- 1 root root 0 Apr 12 18:25 /tmp/foo\n" |
370 |
|
|
371 |
#define chgrp_trivial_usage \ |
#define chgrp_trivial_usage \ |
372 |
"[-RhLHP"USE_DESKTOP("cvf")"]... GROUP FILE..." |
"[-RhLHP"IF_DESKTOP("cvf")"]... GROUP FILE..." |
373 |
#define chgrp_full_usage "\n\n" \ |
#define chgrp_full_usage "\n\n" \ |
374 |
"Change the group membership of each FILE to GROUP\n" \ |
"Change the group membership of each FILE to GROUP\n" \ |
375 |
"\nOptions:" \ |
"\nOptions:" \ |
376 |
"\n -R Recurse directories" \ |
"\n -R Recurse" \ |
377 |
"\n -h Affect symlinks instead of symlink targets" \ |
"\n -h Affect symlinks instead of symlink targets" \ |
378 |
"\n -L Traverse all symlinks to directories" \ |
"\n -L Traverse all symlinks to directories" \ |
379 |
"\n -H Traverse symlinks on command line only" \ |
"\n -H Traverse symlinks on command line only" \ |
380 |
"\n -P Do not traverse symlinks (default)" \ |
"\n -P Don't traverse symlinks (default)" \ |
381 |
USE_DESKTOP( \ |
IF_DESKTOP( \ |
382 |
"\n -c List changed files" \ |
"\n -c List changed files" \ |
383 |
"\n -v Verbose" \ |
"\n -v Verbose" \ |
384 |
"\n -f Hide errors" \ |
"\n -f Hide errors" \ |
391 |
"-r--r--r-- 1 andersen root 0 Apr 12 18:25 /tmp/foo\n" |
"-r--r--r-- 1 andersen root 0 Apr 12 18:25 /tmp/foo\n" |
392 |
|
|
393 |
#define chown_trivial_usage \ |
#define chown_trivial_usage \ |
394 |
"[-RhLHP"USE_DESKTOP("cvf")"]... OWNER[<.|:>[GROUP]] FILE..." |
"[-RhLHP"IF_DESKTOP("cvf")"]... OWNER[<.|:>[GROUP]] FILE..." |
395 |
#define chown_full_usage "\n\n" \ |
#define chown_full_usage "\n\n" \ |
396 |
"Change the owner and/or group of each FILE to OWNER and/or GROUP\n" \ |
"Change the owner and/or group of each FILE to OWNER and/or GROUP\n" \ |
397 |
"\nOptions:" \ |
"\nOptions:" \ |
398 |
"\n -R Recurse directories" \ |
"\n -R Recurse" \ |
399 |
"\n -h Affect symlinks instead of symlink targets" \ |
"\n -h Affect symlinks instead of symlink targets" \ |
400 |
"\n -L Traverse all symlinks to directories" \ |
"\n -L Traverse all symlinks to directories" \ |
401 |
"\n -H Traverse symlinks on command line only" \ |
"\n -H Traverse symlinks on command line only" \ |
402 |
"\n -P Do not traverse symlinks (default)" \ |
"\n -P Don't traverse symlinks (default)" \ |
403 |
USE_DESKTOP( \ |
IF_DESKTOP( \ |
404 |
"\n -c List changed files" \ |
"\n -c List changed files" \ |
405 |
"\n -v List all files" \ |
"\n -v List all files" \ |
406 |
"\n -f Hide errors" \ |
"\n -f Hide errors" \ |
436 |
"\n -c BYTES Limit core file size" \ |
"\n -c BYTES Limit core file size" \ |
437 |
"\n -v Verbose" \ |
"\n -v Verbose" \ |
438 |
"\n -P Create new process group" \ |
"\n -P Create new process group" \ |
439 |
"\n -0 Close standard input" \ |
"\n -0 Close stdin" \ |
440 |
"\n -1 Close standard output" \ |
"\n -1 Close stdout" \ |
441 |
"\n -2 Close standard error" \ |
"\n -2 Close stderr" \ |
442 |
|
|
443 |
#define setuidgid_trivial_usage \ |
#define setuidgid_trivial_usage \ |
444 |
"account prog args" |
"USER PROG ARGS" |
445 |
#define setuidgid_full_usage "\n\n" \ |
#define setuidgid_full_usage "\n\n" \ |
446 |
"Set uid and gid to account's uid and gid, removing all supplementary\n" \ |
"Set uid and gid to USER's uid and gid, removing all supplementary\n" \ |
447 |
"groups and run PROG" |
"groups and run PROG" |
448 |
#define envuidgid_trivial_usage \ |
#define envuidgid_trivial_usage \ |
449 |
"account prog args" |
"USER PROG ARGS" |
450 |
#define envuidgid_full_usage "\n\n" \ |
#define envuidgid_full_usage "\n\n" \ |
451 |
"Set $UID to account's uid and $GID to account's gid and run PROG" |
"Set $UID to USER's uid and $GID to USER's gid and run PROG" |
452 |
#define envdir_trivial_usage \ |
#define envdir_trivial_usage \ |
453 |
"dir prog args" |
"DIR PROG ARGS" |
454 |
#define envdir_full_usage "\n\n" \ |
#define envdir_full_usage "\n\n" \ |
455 |
"Set various environment variables as specified by files\n" \ |
"Set various environment variables as specified by files\n" \ |
456 |
"in the directory dir and run PROG" |
"in the directory dir and run PROG" |
477 |
"\n a SIGXCPU after N seconds" \ |
"\n a SIGXCPU after N seconds" \ |
478 |
|
|
479 |
#define chroot_trivial_usage \ |
#define chroot_trivial_usage \ |
480 |
"NEWROOT [COMMAND...]" |
"NEWROOT [PROG ARGS]" |
481 |
#define chroot_full_usage "\n\n" \ |
#define chroot_full_usage "\n\n" \ |
482 |
"Run COMMAND with root directory set to NEWROOT" |
"Run PROG with root directory set to NEWROOT" |
483 |
#define chroot_example_usage \ |
#define chroot_example_usage \ |
484 |
"$ ls -l /bin/ls\n" \ |
"$ ls -l /bin/ls\n" \ |
485 |
"lrwxrwxrwx 1 root root 12 Apr 13 00:46 /bin/ls -> /BusyBox\n" \ |
"lrwxrwxrwx 1 root root 12 Apr 13 00:46 /bin/ls -> /BusyBox\n" \ |
504 |
"Clear screen" |
"Clear screen" |
505 |
|
|
506 |
#define cmp_trivial_usage \ |
#define cmp_trivial_usage \ |
507 |
"[-l] [-s] FILE1 [FILE2" USE_DESKTOP(" [SKIP1 [SKIP2]") "]]" |
"[-l] [-s] FILE1 [FILE2" IF_DESKTOP(" [SKIP1 [SKIP2]") "]]" |
508 |
#define cmp_full_usage "\n\n" \ |
#define cmp_full_usage "\n\n" \ |
509 |
"Compares FILE1 vs stdin if FILE2 is not specified\n" \ |
"Compares FILE1 vs stdin if FILE2 is not specified\n" \ |
510 |
"\nOptions:" \ |
"\nOptions:" \ |
526 |
#define bbconfig_full_usage "\n\n" \ |
#define bbconfig_full_usage "\n\n" \ |
527 |
"Print the config file which built busybox" |
"Print the config file which built busybox" |
528 |
|
|
|
#define bbsh_trivial_usage \ |
|
|
"[FILE]...\n" \ |
|
|
"or: bbsh -c command [args]..." |
|
|
#define bbsh_full_usage "\n\n" \ |
|
|
"The bbsh shell (command interpreter)" |
|
|
|
|
529 |
#define chrt_trivial_usage \ |
#define chrt_trivial_usage \ |
530 |
"[OPTION]... [prio] [pid | command [arg]...]" |
"[OPTIONS] [PRIO] [PID | PROG ARGS]" |
531 |
#define chrt_full_usage "\n\n" \ |
#define chrt_full_usage "\n\n" \ |
532 |
"Manipulate real-time attributes of a process\n" \ |
"Manipulate real-time attributes of a process\n" \ |
533 |
"\nOptions:" \ |
"\nOptions:" \ |
534 |
"\n -p Operate on pid" \ |
"\n -p Operate on PID" \ |
535 |
"\n -r Set scheduling policy to SCHED_RR" \ |
"\n -r Set SCHED_RR scheduling" \ |
536 |
"\n -f Set scheduling policy to SCHED_FIFO" \ |
"\n -f Set SCHED_FIFO scheduling" \ |
537 |
"\n -o Set scheduling policy to SCHED_OTHER" \ |
"\n -o Set SCHED_OTHER scheduling" \ |
538 |
"\n -m Show min and max priorities" \ |
"\n -m Show min and max priorities" \ |
539 |
|
|
540 |
#define chrt_example_usage \ |
#define chrt_example_usage \ |
543 |
"You need CAP_SYS_NICE privileges to set scheduling attributes of a process" |
"You need CAP_SYS_NICE privileges to set scheduling attributes of a process" |
544 |
|
|
545 |
#define cp_trivial_usage \ |
#define cp_trivial_usage \ |
546 |
"[OPTION]... SOURCE DEST" |
"[OPTIONS] SOURCE DEST" |
547 |
#define cp_full_usage "\n\n" \ |
#define cp_full_usage "\n\n" \ |
548 |
"Copy SOURCE to DEST, or multiple SOURCE(s) to DIRECTORY\n" \ |
"Copy SOURCE to DEST, or multiple SOURCE(s) to DIRECTORY\n" \ |
549 |
"\nOptions:" \ |
"\nOptions:" \ |
550 |
"\n -a Same as -dpR" \ |
"\n -a Same as -dpR" \ |
551 |
USE_SELINUX( \ |
IF_SELINUX( \ |
552 |
"\n -c Preserve security context" \ |
"\n -c Preserve security context" \ |
553 |
) \ |
) \ |
554 |
"\n -d,-P Preserve links" \ |
"\n -R,-r Recurse" \ |
555 |
"\n -H,-L Dereference all symlinks (default)" \ |
"\n -d,-P Preserve symlinks (default if -R)" \ |
556 |
|
"\n -L Follow all symlinks" \ |
557 |
|
"\n -H Follow symlinks on command line" \ |
558 |
"\n -p Preserve file attributes if possible" \ |
"\n -p Preserve file attributes if possible" \ |
559 |
"\n -f Force overwrite" \ |
"\n -f Force overwrite" \ |
560 |
"\n -i Prompt before overwrite" \ |
"\n -i Prompt before overwrite" \ |
|
"\n -R,-r Recurse directories" \ |
|
561 |
"\n -l,-s Create (sym)links" \ |
"\n -l,-s Create (sym)links" \ |
562 |
|
|
563 |
#define cpio_trivial_usage \ |
#define cpio_trivial_usage \ |
564 |
"-[dim" USE_FEATURE_CPIO_O("o") "tuv][F cpiofile]" \ |
"[-dmvu] [-F FILE]" IF_FEATURE_CPIO_O(" [-H newc]") \ |
565 |
USE_FEATURE_CPIO_O( "[H newc]" ) |
" [-ti"IF_FEATURE_CPIO_O("o")"]" IF_FEATURE_CPIO_P(" [-p DIR]") |
566 |
#define cpio_full_usage "\n\n" \ |
#define cpio_full_usage "\n\n" \ |
567 |
"Extract or list files from a cpio archive" \ |
"Extract or list files from a cpio archive" \ |
568 |
USE_FEATURE_CPIO_O( ", or create a cpio archive" ) \ |
IF_FEATURE_CPIO_O(", or" \ |
569 |
|
"\ncreate an archive" IF_FEATURE_CPIO_P(" (-o) or copy files (-p)") \ |
570 |
|
" using file list on stdin" \ |
571 |
|
) \ |
572 |
"\n" \ |
"\n" \ |
573 |
"Main operation mode:" \ |
"\nMain operation mode:" \ |
574 |
"\n d Make leading directories" \ |
"\n -t List" \ |
575 |
"\n i Extract" \ |
"\n -i Extract" \ |
576 |
"\n m Preserve mtime" \ |
IF_FEATURE_CPIO_O( \ |
577 |
USE_FEATURE_CPIO_O( \ |
"\n -o Create (requires -H newc)" \ |
578 |
"\n o Create" \ |
) \ |
579 |
"\n H newc Define format" \ |
IF_FEATURE_CPIO_P( \ |
580 |
|
"\n -p DIR Copy files to DIR" \ |
581 |
|
) \ |
582 |
|
"\nOptions:" \ |
583 |
|
"\n -d Make leading directories" \ |
584 |
|
"\n -m Preserve mtime" \ |
585 |
|
"\n -v Verbose" \ |
586 |
|
"\n -u Overwrite" \ |
587 |
|
"\n -F FILE Input (-t,-i,-p) or output (-o) file" \ |
588 |
|
IF_FEATURE_CPIO_O( \ |
589 |
|
"\n -H newc Archive format" \ |
590 |
) \ |
) \ |
|
"\n t List" \ |
|
|
"\n v Verbose" \ |
|
|
"\n u Unconditional overwrite" \ |
|
|
"\n F Input from file" \ |
|
591 |
|
|
592 |
#define crond_trivial_usage \ |
#define crond_trivial_usage \ |
593 |
"-fbS -l N " USE_FEATURE_CROND_D("-d N ") "-L LOGFILE -c DIR" |
"-fbS -l N " IF_FEATURE_CROND_D("-d N ") "-L LOGFILE -c DIR" |
594 |
#define crond_full_usage "\n\n" \ |
#define crond_full_usage "\n\n" \ |
595 |
" -f Foreground" \ |
" -f Foreground" \ |
596 |
"\n -b Background (default)" \ |
"\n -b Background (default)" \ |
597 |
"\n -S Log to syslog (default)" \ |
"\n -S Log to syslog (default)" \ |
598 |
"\n -l Set log level. 0 is the most verbose, default 8" \ |
"\n -l Set log level. 0 is the most verbose, default 8" \ |
599 |
USE_FEATURE_CROND_D( \ |
IF_FEATURE_CROND_D( \ |
600 |
"\n -d Set log level, log to stderr" \ |
"\n -d Set log level, log to stderr" \ |
601 |
) \ |
) \ |
602 |
"\n -L Log to file" \ |
"\n -L Log to file" \ |
613 |
"\n FILE Replace crontab by FILE ('-': stdin)" \ |
"\n FILE Replace crontab by FILE ('-': stdin)" \ |
614 |
|
|
615 |
#define cryptpw_trivial_usage \ |
#define cryptpw_trivial_usage \ |
616 |
"[-a des|md5] [string]" |
"[OPTIONS] [PASSWORD] [SALT]" |
617 |
|
/* We do support -s, we just don't mention it */ |
618 |
#define cryptpw_full_usage "\n\n" \ |
#define cryptpw_full_usage "\n\n" \ |
619 |
"Output crypted string.\n" \ |
"Crypt the PASSWORD using crypt(3)\n" \ |
|
"If string isn't supplied on cmdline, read it from stdin.\n" \ |
|
620 |
"\nOptions:" \ |
"\nOptions:" \ |
621 |
"\n -a Algorithm to use (default: md5)" \ |
IF_LONG_OPTS( \ |
622 |
|
"\n -P,--password-fd=N Read password from fd N" \ |
623 |
|
/* "\n -s,--stdin Use stdin; like -P0" */ \ |
624 |
|
"\n -m,--method=TYPE Encryption method TYPE" \ |
625 |
|
"\n -S,--salt=SALT" \ |
626 |
|
) \ |
627 |
|
IF_NOT_LONG_OPTS( \ |
628 |
|
"\n -P N Read password from fd N" \ |
629 |
|
/* "\n -s Use stdin; like -P0" */ \ |
630 |
|
"\n -m TYPE Encryption method TYPE" \ |
631 |
|
"\n -S SALT" \ |
632 |
|
) \ |
633 |
|
|
634 |
|
/* mkpasswd is an alias to cryptpw */ |
635 |
|
|
636 |
|
#define mkpasswd_trivial_usage \ |
637 |
|
"[OPTIONS] [PASSWORD] [SALT]" |
638 |
|
/* We do support -s, we just don't mention it */ |
639 |
|
#define mkpasswd_full_usage "\n\n" \ |
640 |
|
"Crypt the PASSWORD using crypt(3)\n" \ |
641 |
|
"\nOptions:" \ |
642 |
|
IF_LONG_OPTS( \ |
643 |
|
"\n -P,--password-fd=N Read password from fd N" \ |
644 |
|
/* "\n -s,--stdin Use stdin; like -P0" */ \ |
645 |
|
"\n -m,--method=TYPE Encryption method TYPE" \ |
646 |
|
"\n -S,--salt=SALT" \ |
647 |
|
) \ |
648 |
|
IF_NOT_LONG_OPTS( \ |
649 |
|
"\n -P N Read password from fd N" \ |
650 |
|
/* "\n -s Use stdin; like -P0" */ \ |
651 |
|
"\n -m TYPE Encryption method TYPE" \ |
652 |
|
"\n -S SALT" \ |
653 |
|
) \ |
654 |
|
|
655 |
#define cttyhack_trivial_usage NOUSAGE_STR |
#define cttyhack_trivial_usage NOUSAGE_STR |
656 |
#define cttyhack_full_usage "" |
#define cttyhack_full_usage "" |
657 |
|
|
658 |
#define cut_trivial_usage \ |
#define cut_trivial_usage \ |
659 |
"[OPTION]... [FILE]..." |
"[OPTIONS] [FILE]..." |
660 |
#define cut_full_usage "\n\n" \ |
#define cut_full_usage "\n\n" \ |
661 |
"Print selected fields from each input FILE to standard output\n" \ |
"Print selected fields from each input FILE to stdout\n" \ |
662 |
"\nOptions:" \ |
"\nOptions:" \ |
663 |
"\n -b LIST Output only bytes from LIST" \ |
"\n -b LIST Output only bytes from LIST" \ |
664 |
"\n -c LIST Output only characters from LIST" \ |
"\n -c LIST Output only characters from LIST" \ |
674 |
"world\n" |
"world\n" |
675 |
|
|
676 |
#define date_trivial_usage \ |
#define date_trivial_usage \ |
677 |
"[OPTION]... [+FMT] [TIME]" |
"[OPTIONS] [+FMT] [TIME]" |
678 |
#define date_full_usage "\n\n" \ |
#define date_full_usage "\n\n" \ |
679 |
"Display time (using +FMT), or set time\n" \ |
"Display time (using +FMT), or set time\n" \ |
680 |
"\nOptions:" \ |
"\nOptions:" \ |
681 |
|
IF_NOT_LONG_OPTS( \ |
682 |
|
"\n [-s] TIME Set time to TIME" \ |
683 |
"\n -u Work in UTC (don't convert to local time)" \ |
"\n -u Work in UTC (don't convert to local time)" \ |
684 |
"\n -R Output RFC-822 compliant date string" \ |
"\n -R Output RFC-2822 compliant date string" \ |
685 |
USE_FEATURE_DATE_ISOFMT( \ |
) IF_LONG_OPTS( \ |
686 |
|
"\n [-s,--set] TIME Set time to TIME" \ |
687 |
|
"\n -u,--utc Work in UTC (don't convert to local time)" \ |
688 |
|
"\n -R,--rfc-2822 Output RFC-2822 compliant date string" \ |
689 |
|
) \ |
690 |
|
IF_FEATURE_DATE_ISOFMT( \ |
691 |
"\n -I[SPEC] Output ISO-8601 compliant date string" \ |
"\n -I[SPEC] Output ISO-8601 compliant date string" \ |
692 |
"\n SPEC='date' (default) for date only," \ |
"\n SPEC='date' (default) for date only," \ |
693 |
"\n 'hours', 'minutes', or 'seconds' for date and" \ |
"\n 'hours', 'minutes', or 'seconds' for date and" \ |
694 |
"\n time to the indicated precision" \ |
"\n time to the indicated precision" \ |
695 |
) \ |
) IF_NOT_LONG_OPTS( \ |
|
"\n -d TIME Display TIME, not 'now'" \ |
|
696 |
"\n -r FILE Display last modification time of FILE" \ |
"\n -r FILE Display last modification time of FILE" \ |
697 |
"\n [-s] TIME Set time to TIME" \ |
"\n -d TIME Display TIME, not 'now'" \ |
698 |
USE_FEATURE_DATE_ISOFMT( \ |
) IF_LONG_OPTS( \ |
699 |
"\n -D FMT Use FMT for str->date conversion" \ |
"\n -r,--reference FILE Display last modification time of FILE" \ |
700 |
|
"\n -d,--date TIME Display TIME, not 'now'" \ |
701 |
|
) \ |
702 |
|
IF_FEATURE_DATE_ISOFMT( \ |
703 |
|
"\n -D FMT Use FMT for -d TIME conversion" \ |
704 |
) \ |
) \ |
705 |
"\n" \ |
"\n" \ |
706 |
"\nRecognized formats for TIME:" \ |
"\nRecognized TIME formats:" \ |
707 |
"\n hh:mm[:ss]" \ |
"\n hh:mm[:ss]" \ |
708 |
"\n [YYYY.]MM.DD-hh:mm[:ss]" \ |
"\n [YYYY.]MM.DD-hh:mm[:ss]" \ |
709 |
"\n YYYY-MM-DD hh:mm[:ss]" \ |
"\n YYYY-MM-DD hh:mm[:ss]" \ |
710 |
"\n MMDDhhmm[[YY]YY][.ss]" \ |
"\n [[[[[YY]YY]MM]DD]hh]mm[.ss]" \ |
711 |
|
|
712 |
#define date_example_usage \ |
#define date_example_usage \ |
713 |
"$ date\n" \ |
"$ date\n" \ |
721 |
"p - print top of the stack (without altering the stack),\n" \ |
"p - print top of the stack (without altering the stack),\n" \ |
722 |
"f - print entire stack, o - pop the value and set output radix\n" \ |
"f - print entire stack, o - pop the value and set output radix\n" \ |
723 |
"(value must be 10 or 16).\n" \ |
"(value must be 10 or 16).\n" \ |
724 |
"Examples: 'dc 2 2 add' -> 4, 'dc 8 8 * 2 2 + /' -> 16.\n" \ |
"Examples: 'dc 2 2 add' -> 4, 'dc 8 8 * 2 2 + /' -> 16\n" \ |
725 |
|
|
726 |
#define dc_example_usage \ |
#define dc_example_usage \ |
727 |
"$ dc 2 2 + p\n" \ |
"$ dc 2 2 + p\n" \ |
736 |
"64\n" |
"64\n" |
737 |
|
|
738 |
#define dd_trivial_usage \ |
#define dd_trivial_usage \ |
739 |
"[if=FILE] [of=FILE] " USE_FEATURE_DD_IBS_OBS("[ibs=N] [obs=N] ") "[bs=N] [count=N] [skip=N]\n" \ |
"[if=FILE] [of=FILE] " IF_FEATURE_DD_IBS_OBS("[ibs=N] [obs=N] ") "[bs=N] [count=N] [skip=N]\n" \ |
740 |
" [seek=N]" USE_FEATURE_DD_IBS_OBS(" [conv=notrunc|noerror|sync|fsync]") |
" [seek=N]" IF_FEATURE_DD_IBS_OBS(" [conv=notrunc|noerror|sync|fsync]") |
741 |
#define dd_full_usage "\n\n" \ |
#define dd_full_usage "\n\n" \ |
742 |
"Copy a file with converting and formatting\n" \ |
"Copy a file with converting and formatting\n" \ |
743 |
"\nOptions:" \ |
"\nOptions:" \ |
744 |
"\n if=FILE Read from FILE instead of stdin" \ |
"\n if=FILE Read from FILE instead of stdin" \ |
745 |
"\n of=FILE Write to FILE instead of stdout" \ |
"\n of=FILE Write to FILE instead of stdout" \ |
746 |
"\n bs=N Read and write N bytes at a time" \ |
"\n bs=N Read and write N bytes at a time" \ |
747 |
USE_FEATURE_DD_IBS_OBS( \ |
IF_FEATURE_DD_IBS_OBS( \ |
748 |
"\n ibs=N Read N bytes at a time" \ |
"\n ibs=N Read N bytes at a time" \ |
749 |
) \ |
) \ |
750 |
USE_FEATURE_DD_IBS_OBS( \ |
IF_FEATURE_DD_IBS_OBS( \ |
751 |
"\n obs=N Write N bytes at a time" \ |
"\n obs=N Write N bytes at a time" \ |
752 |
) \ |
) \ |
753 |
"\n count=N Copy only N input blocks" \ |
"\n count=N Copy only N input blocks" \ |
754 |
"\n skip=N Skip N input blocks" \ |
"\n skip=N Skip N input blocks" \ |
755 |
"\n seek=N Skip N output blocks" \ |
"\n seek=N Skip N output blocks" \ |
756 |
USE_FEATURE_DD_IBS_OBS( \ |
IF_FEATURE_DD_IBS_OBS( \ |
757 |
"\n conv=notrunc Don't truncate output file" \ |
"\n conv=notrunc Don't truncate output file" \ |
758 |
"\n conv=noerror Continue after read errors" \ |
"\n conv=noerror Continue after read errors" \ |
759 |
"\n conv=sync Pad blocks with zeros" \ |
"\n conv=sync Pad blocks with zeros" \ |
774 |
"Deallocate unused virtual terminal /dev/ttyN" |
"Deallocate unused virtual terminal /dev/ttyN" |
775 |
|
|
776 |
#define delgroup_trivial_usage \ |
#define delgroup_trivial_usage \ |
777 |
USE_FEATURE_DEL_USER_FROM_GROUP("[USER] ")"GROUP" |
IF_FEATURE_DEL_USER_FROM_GROUP("[USER] ")"GROUP" |
778 |
#define delgroup_full_usage "\n\n" \ |
#define delgroup_full_usage "\n\n" \ |
779 |
"Delete group GROUP from the system" \ |
"Delete group GROUP from the system" \ |
780 |
USE_FEATURE_DEL_USER_FROM_GROUP(" or user USER from group GROUP") |
IF_FEATURE_DEL_USER_FROM_GROUP(" or user USER from group GROUP") |
781 |
|
|
782 |
#define deluser_trivial_usage \ |
#define deluser_trivial_usage \ |
783 |
"USER" |
"USER" |
797 |
"\n VALUE Data to be written" \ |
"\n VALUE Data to be written" \ |
798 |
|
|
799 |
#define devfsd_trivial_usage \ |
#define devfsd_trivial_usage \ |
800 |
"mntpnt [-v]" USE_DEVFSD_FG_NP("[-fg][-np]") |
"mntpnt [-v]" IF_DEVFSD_FG_NP("[-fg][-np]") |
801 |
#define devfsd_full_usage "\n\n" \ |
#define devfsd_full_usage "\n\n" \ |
802 |
"Manage devfs permissions and old device name symlinks\n" \ |
"Manage devfs permissions and old device name symlinks\n" \ |
803 |
"\nOptions:" \ |
"\nOptions:" \ |
804 |
"\n mntpnt The mount point where devfs is mounted" \ |
"\n mntpnt The mount point where devfs is mounted" \ |
805 |
"\n -v Print the protocol version numbers for devfsd" \ |
"\n -v Print the protocol version numbers for devfsd" \ |
806 |
"\n and the kernel-side protocol version and exit" \ |
"\n and the kernel-side protocol version and exit" \ |
807 |
USE_DEVFSD_FG_NP( \ |
IF_DEVFSD_FG_NP( \ |
808 |
"\n -fg Run in foreground" \ |
"\n -fg Run in foreground" \ |
809 |
"\n -np Exit after parsing the configuration file" \ |
"\n -np Exit after parsing the configuration file" \ |
810 |
"\n and processing synthetic REGISTER events," \ |
"\n and processing synthetic REGISTER events," \ |
811 |
"\n do not poll for events" \ |
"\n don't poll for events" \ |
812 |
) |
) |
813 |
|
|
814 |
#define df_trivial_usage \ |
#define df_trivial_usage \ |
815 |
"[-Pk" \ |
"[-Pk" \ |
816 |
USE_FEATURE_HUMAN_READABLE("mh") \ |
IF_FEATURE_HUMAN_READABLE("mh") \ |
817 |
USE_FEATURE_DF_FANCY("ai] [-B SIZE") \ |
IF_FEATURE_DF_FANCY("ai] [-B SIZE") \ |
818 |
"] [FILESYSTEM...]" |
"] [FILESYSTEM]..." |
819 |
#define df_full_usage "\n\n" \ |
#define df_full_usage "\n\n" \ |
820 |
"Print filesystem usage statistics\n" \ |
"Print filesystem usage statistics\n" \ |
821 |
"\nOptions:" \ |
"\nOptions:" \ |
822 |
"\n -P POSIX output format" \ |
"\n -P POSIX output format" \ |
823 |
"\n -k 1024-byte blocks (default)" \ |
"\n -k 1024-byte blocks (default)" \ |
824 |
USE_FEATURE_HUMAN_READABLE( \ |
IF_FEATURE_HUMAN_READABLE( \ |
825 |
"\n -m 1M-byte blocks" \ |
"\n -m 1M-byte blocks" \ |
826 |
"\n -h Human readable (e.g. 1K 243M 2G)" \ |
"\n -h Human readable (e.g. 1K 243M 2G)" \ |
827 |
) \ |
) \ |
828 |
USE_FEATURE_DF_FANCY( \ |
IF_FEATURE_DF_FANCY( \ |
829 |
"\n -a Show all filesystems" \ |
"\n -a Show all filesystems" \ |
830 |
"\n -i Inodes" \ |
"\n -i Inodes" \ |
831 |
"\n -B SIZE Blocksize" \ |
"\n -B SIZE Blocksize" \ |
847 |
"/dev/sda3 17381728 17107080 274648 98% /\n" |
"/dev/sda3 17381728 17107080 274648 98% /\n" |
848 |
|
|
849 |
#define dhcprelay_trivial_usage \ |
#define dhcprelay_trivial_usage \ |
850 |
"[client1,client2,...] [server_device]" |
"CLIENT_IFACE[,CLIENT_IFACE2]... SERVER_IFACE [SERVER_IP]" |
851 |
#define dhcprelay_full_usage "\n\n" \ |
#define dhcprelay_full_usage "\n\n" \ |
852 |
"Relay dhcp requests from client devices to server device.\n" \ |
"Relay DHCP requests between clients and server" \ |
|
"Pass clients as CSV" |
|
853 |
|
|
854 |
#define diff_trivial_usage \ |
#define diff_trivial_usage \ |
855 |
"[-abdiNqrTstw] [-L LABEL] [-S FILE] [-U LINES] FILE1 FILE2" |
"[-abBdiNqrTstw] [-L LABEL] [-S FILE] [-U LINES] FILE1 FILE2" |
856 |
#define diff_full_usage "\n\n" \ |
#define diff_full_usage "\n\n" \ |
857 |
"Compare files line by line and output the differences between them.\n" \ |
"Compare files line by line and output the differences between them.\n" \ |
858 |
"This implementation supports unified diffs only.\n" \ |
"This implementation supports unified diffs only.\n" \ |
859 |
"\nOptions:" \ |
"\nOptions:" \ |
860 |
"\n -a Treat all files as text" \ |
"\n -a Treat all files as text" \ |
861 |
"\n -b Ignore changes in the amount of whitespace" \ |
"\n -b Ignore changes in the amount of whitespace" \ |
862 |
|
"\n -B Ignore changes whose lines are all blank" \ |
863 |
"\n -d Try hard to find a smaller set of changes" \ |
"\n -d Try hard to find a smaller set of changes" \ |
864 |
"\n -i Ignore case differences" \ |
"\n -i Ignore case differences" \ |
865 |
"\n -L Use LABEL instead of the filename in the unified header" \ |
"\n -L Use LABEL instead of the filename in the unified header" \ |
866 |
"\n -N Treat absent files as empty" \ |
"\n -N Treat absent files as empty" \ |
867 |
"\n -q Output only whether files differ" \ |
"\n -q Output only whether files differ" \ |
868 |
"\n -r Recursively compare subdirectories" \ |
"\n -r Recurse" \ |
869 |
"\n -S Start with FILE when comparing directories" \ |
"\n -S Start with FILE when comparing directories" \ |
870 |
"\n -T Make tabs line up by prefixing a tab when necessary" \ |
"\n -T Make tabs line up by prefixing a tab when necessary" \ |
871 |
"\n -s Report when two files are the same" \ |
"\n -s Report when two files are the same" \ |
893 |
"\n -s SIZE Buffer size" \ |
"\n -s SIZE Buffer size" \ |
894 |
|
|
895 |
#define dnsd_trivial_usage \ |
#define dnsd_trivial_usage \ |
896 |
"[-c config] [-t seconds] [-p port] [-i iface-ip] [-d]" |
"[-dvs] [-c CONFFILE] [-t TTL_SEC] [-p PORT] [-i ADDR]" |
897 |
#define dnsd_full_usage "\n\n" \ |
#define dnsd_full_usage "\n\n" \ |
898 |
"Small static DNS server daemon\n" \ |
"Small static DNS server daemon\n" \ |
899 |
"\nOptions:" \ |
"\nOptions:" \ |
900 |
"\n -c Config filename" \ |
"\n -c FILE Config file" \ |
901 |
"\n -t TTL in seconds" \ |
"\n -t SEC TTL" \ |
902 |
"\n -p Listening port" \ |
"\n -p PORT Listen on PORT" \ |
903 |
"\n -i Listening ip (default all)" \ |
"\n -i ADDR Listen on ADDR" \ |
904 |
"\n -d Daemonize" \ |
"\n -d Daemonize" \ |
905 |
|
"\n -v Verbose" \ |
906 |
|
"\n -s Send successful replies only. Use this if you want" \ |
907 |
|
"\n to use /etc/resolv.conf with two nameserver lines:" \ |
908 |
|
"\n nameserver DNSD_SERVER" \ |
909 |
|
"\n nameserver NORNAL_DNS_SERVER" \ |
910 |
|
|
911 |
#define dos2unix_trivial_usage \ |
#define dos2unix_trivial_usage \ |
912 |
"[option] [FILE]" |
"[OPTIONS] [FILE]" |
913 |
#define dos2unix_full_usage "\n\n" \ |
#define dos2unix_full_usage "\n\n" \ |
914 |
"Convert FILE from dos to unix format.\n" \ |
"Convert FILE in-place from DOS to Unix format.\n" \ |
915 |
|
"When no file is given, use stdin/stdout.\n" \ |
916 |
|
"\nOptions:" \ |
917 |
|
"\n -u dos2unix" \ |
918 |
|
"\n -d unix2dos" \ |
919 |
|
|
920 |
|
#define unix2dos_trivial_usage \ |
921 |
|
"[OPTIONS] [FILE]" |
922 |
|
#define unix2dos_full_usage "\n\n" \ |
923 |
|
"Convert FILE in-place from Unix to DOS format.\n" \ |
924 |
"When no file is given, use stdin/stdout.\n" \ |
"When no file is given, use stdin/stdout.\n" \ |
925 |
"\nOptions:" \ |
"\nOptions:" \ |
926 |
"\n -u dos2unix" \ |
"\n -u dos2unix" \ |
927 |
"\n -d unix2dos" \ |
"\n -d unix2dos" \ |
928 |
|
|
929 |
#define dpkg_trivial_usage \ |
#define dpkg_trivial_usage \ |
930 |
"[-ilCPru] [-F option] package_name" |
"[-ilCPru] [-F OPT] PACKAGE" |
931 |
#define dpkg_full_usage "\n\n" \ |
#define dpkg_full_usage "\n\n" \ |
932 |
"Install, remove and manage Debian packages\n" \ |
"Install, remove and manage Debian packages\n" \ |
933 |
"\nOptions:" \ |
"\nOptions:" \ |
954 |
"$ dpkg-deb -X ./busybox_0.48-1_i386.deb /tmp\n" |
"$ dpkg-deb -X ./busybox_0.48-1_i386.deb /tmp\n" |
955 |
|
|
956 |
#define du_trivial_usage \ |
#define du_trivial_usage \ |
957 |
"[-aHLdclsx" USE_FEATURE_HUMAN_READABLE("hm") "k] [FILE]..." |
"[-aHLdclsx" IF_FEATURE_HUMAN_READABLE("hm") "k] [FILE]..." |
958 |
#define du_full_usage "\n\n" \ |
#define du_full_usage "\n\n" \ |
959 |
"Summarize disk space used for each FILE and/or directory.\n" \ |
"Summarize disk space used for each FILE and/or directory.\n" \ |
960 |
"Disk space is printed in units of " \ |
"Disk space is printed in units of " \ |
961 |
USE_FEATURE_DU_DEFAULT_BLOCKSIZE_1K("1024") \ |
IF_FEATURE_DU_DEFAULT_BLOCKSIZE_1K("1024") \ |
962 |
SKIP_FEATURE_DU_DEFAULT_BLOCKSIZE_1K("512") \ |
IF_NOT_FEATURE_DU_DEFAULT_BLOCKSIZE_1K("512") \ |
963 |
" bytes.\n" \ |
" bytes.\n" \ |
964 |
"\nOptions:" \ |
"\nOptions:" \ |
965 |
"\n -a Show file sizes too" \ |
"\n -a Show file sizes too" \ |
|
"\n -H Follow symlinks on command line" \ |
|
966 |
"\n -L Follow all symlinks" \ |
"\n -L Follow all symlinks" \ |
967 |
|
"\n -H Follow symlinks on command line" \ |
968 |
"\n -d N Limit output to directories (and files with -a) of depth < N" \ |
"\n -d N Limit output to directories (and files with -a) of depth < N" \ |
969 |
"\n -c Show grand total" \ |
"\n -c Show grand total" \ |
970 |
"\n -l Count sizes many times if hard linked" \ |
"\n -l Count sizes many times if hard linked" \ |
971 |
"\n -s Display only a total for each argument" \ |
"\n -s Display only a total for each argument" \ |
972 |
"\n -x Skip directories on different filesystems" \ |
"\n -x Skip directories on different filesystems" \ |
973 |
USE_FEATURE_HUMAN_READABLE( \ |
IF_FEATURE_HUMAN_READABLE( \ |
974 |
"\n -h Sizes in human readable format (e.g., 1K 243M 2G )" \ |
"\n -h Sizes in human readable format (e.g., 1K 243M 2G )" \ |
975 |
"\n -m Sizes in megabytes" \ |
"\n -m Sizes in megabytes" \ |
976 |
) \ |
) \ |
977 |
"\n -k Sizes in kilobytes" \ |
"\n -k Sizes in kilobytes" \ |
978 |
USE_FEATURE_DU_DEFAULT_BLOCKSIZE_1K(" (default)") \ |
IF_FEATURE_DU_DEFAULT_BLOCKSIZE_1K(" (default)") \ |
979 |
|
|
980 |
#define du_example_usage \ |
#define du_example_usage \ |
981 |
"$ du\n" \ |
"$ du\n" \ |
993 |
#define dumpkmap_trivial_usage \ |
#define dumpkmap_trivial_usage \ |
994 |
"> keymap" |
"> keymap" |
995 |
#define dumpkmap_full_usage "\n\n" \ |
#define dumpkmap_full_usage "\n\n" \ |
996 |
"Print a binary keyboard translation table to standard output" |
"Print a binary keyboard translation table to stdout" |
997 |
#define dumpkmap_example_usage \ |
#define dumpkmap_example_usage \ |
998 |
"$ dumpkmap > keymap\n" |
"$ dumpkmap > keymap\n" |
999 |
|
|
1002 |
#define dumpleases_full_usage "\n\n" \ |
#define dumpleases_full_usage "\n\n" \ |
1003 |
"Display DHCP leases granted by udhcpd\n" \ |
"Display DHCP leases granted by udhcpd\n" \ |
1004 |
"\nOptions:" \ |
"\nOptions:" \ |
1005 |
USE_GETOPT_LONG( \ |
IF_LONG_OPTS( \ |
1006 |
"\n -f,--file=FILE Leases file to load" \ |
"\n -f,--file=FILE Leases file to load" \ |
1007 |
"\n -r,--remaining Interpret lease times as time remaining" \ |
"\n -r,--remaining Interpret lease times as time remaining" \ |
1008 |
"\n -a,--absolute Interpret lease times as expire time" \ |
"\n -a,--absolute Interpret lease times as expire time" \ |
1009 |
) \ |
) \ |
1010 |
SKIP_GETOPT_LONG( \ |
IF_NOT_LONG_OPTS( \ |
1011 |
"\n -f FILE Leases file to load" \ |
"\n -f FILE Leases file to load" \ |
1012 |
"\n -r Interpret lease times as time remaining" \ |
"\n -r Interpret lease times as time remaining" \ |
1013 |
"\n -a Interpret lease times as expire time" \ |
"\n -a Interpret lease times as expire time" \ |
1014 |
) |
) |
1015 |
|
|
1016 |
|
/* |
1017 |
#define e2fsck_trivial_usage \ |
#define e2fsck_trivial_usage \ |
1018 |
"[-panyrcdfvstDFSV] [-b superblock] [-B blocksize] " \ |
"[-panyrcdfvstDFSV] [-b superblock] [-B blocksize] " \ |
1019 |
"[-I inode_buffer_blocks] [-P process_inode_size] " \ |
"[-I inode_buffer_blocks] [-P process_inode_size] " \ |
1033 |
"\n -j journal Set location of the external journal" \ |
"\n -j journal Set location of the external journal" \ |
1034 |
"\n -l file Add to badblocks list" \ |
"\n -l file Add to badblocks list" \ |
1035 |
"\n -L file Set badblocks list" \ |
"\n -L file Set badblocks list" \ |
1036 |
|
*/ |
1037 |
|
|
1038 |
#define echo_trivial_usage \ |
#define echo_trivial_usage \ |
1039 |
USE_FEATURE_FANCY_ECHO("[-neE] ") "[ARG...]" |
IF_FEATURE_FANCY_ECHO("[-neE] ") "[ARG]..." |
1040 |
#define echo_full_usage "\n\n" \ |
#define echo_full_usage "\n\n" \ |
1041 |
"Print the specified ARGs to stdout" \ |
"Print the specified ARGs to stdout" \ |
1042 |
USE_FEATURE_FANCY_ECHO( "\n" \ |
IF_FEATURE_FANCY_ECHO( "\n" \ |
1043 |
"\nOptions:" \ |
"\nOptions:" \ |
1044 |
"\n -n Suppress trailing newline" \ |
"\n -n Suppress trailing newline" \ |
1045 |
"\n -e Interpret backslash-escaped characters (i.e., \\t=tab)" \ |
"\n -e Interpret backslash-escaped characters (i.e., \\t=tab)" \ |
1048 |
#define echo_example_usage \ |
#define echo_example_usage \ |
1049 |
"$ echo \"Erik is cool\"\n" \ |
"$ echo \"Erik is cool\"\n" \ |
1050 |
"Erik is cool\n" \ |
"Erik is cool\n" \ |
1051 |
USE_FEATURE_FANCY_ECHO("$ echo -e \"Erik\\nis\\ncool\"\n" \ |
IF_FEATURE_FANCY_ECHO("$ echo -e \"Erik\\nis\\ncool\"\n" \ |
1052 |
"Erik\n" \ |
"Erik\n" \ |
1053 |
"is\n" \ |
"is\n" \ |
1054 |
"cool\n" \ |
"cool\n" \ |
1058 |
#define eject_trivial_usage \ |
#define eject_trivial_usage \ |
1059 |
"[-t] [-T] [DEVICE]" |
"[-t] [-T] [DEVICE]" |
1060 |
#define eject_full_usage "\n\n" \ |
#define eject_full_usage "\n\n" \ |
1061 |
"Eject specified DEVICE (or default /dev/cdrom)\n" \ |
"Eject DEVICE or default /dev/cdrom\n" \ |
1062 |
"\nOptions:" \ |
"\nOptions:" \ |
1063 |
USE_FEATURE_EJECT_SCSI( \ |
IF_FEATURE_EJECT_SCSI( \ |
1064 |
"\n -s SCSI device" \ |
"\n -s SCSI device" \ |
1065 |
) \ |
) \ |
1066 |
"\n -t Close tray" \ |
"\n -t Close tray" \ |
1070 |
#define ed_full_usage "" |
#define ed_full_usage "" |
1071 |
|
|
1072 |
#define env_trivial_usage \ |
#define env_trivial_usage \ |
1073 |
"[-iu] [-] [name=value]... [command]" |
"[-iu] [-] [name=value]... [PROG ARGS]" |
1074 |
#define env_full_usage "\n\n" \ |
#define env_full_usage "\n\n" \ |
1075 |
"Print the current environment or run a program after setting\n" \ |
"Print the current environment or run PROG after setting up\n" \ |
1076 |
"up the specified environment\n" \ |
"the specified environment\n" \ |
1077 |
"\nOptions:" \ |
"\nOptions:" \ |
1078 |
"\n -, -i Start with an empty environment" \ |
"\n -, -i Start with an empty environment" \ |
1079 |
"\n -u Remove variable from the environment" \ |
"\n -u Remove variable from the environment" \ |
1090 |
"\n -p pass Append four or six byte password PW to the packet" \ |
"\n -p pass Append four or six byte password PW to the packet" \ |
1091 |
|
|
1092 |
#define expand_trivial_usage \ |
#define expand_trivial_usage \ |
1093 |
"[-i] [-t NUM] [FILE|-]" |
"[-i] [-t N] [FILE|-]" |
1094 |
#define expand_full_usage "\n\n" \ |
#define expand_full_usage "\n\n" \ |
1095 |
"Convert tabs to spaces, writing to standard output.\n" \ |
"Convert tabs to spaces, writing to stdout\n" \ |
1096 |
"\nOptions:" \ |
"\nOptions:" \ |
1097 |
USE_FEATURE_EXPAND_LONG_OPTIONS( \ |
IF_FEATURE_EXPAND_LONG_OPTIONS( \ |
1098 |
"\n -i,--initial Do not convert tabs after non blanks" \ |
"\n -i,--initial Don't convert tabs after non blanks" \ |
1099 |
"\n -t,--tabs=N Tabstops every N chars" \ |
"\n -t,--tabs=N Tabstops every N chars" \ |
1100 |
) \ |
) \ |
1101 |
SKIP_FEATURE_EXPAND_LONG_OPTIONS( \ |
IF_NOT_FEATURE_EXPAND_LONG_OPTIONS( \ |
1102 |
"\n -i Do not convert tabs after non blanks" \ |
"\n -i Don't convert tabs after non blanks" \ |
1103 |
"\n -t Tabstops every N chars" \ |
"\n -t Tabstops every N chars" \ |
1104 |
) |
) |
1105 |
|
|
1106 |
#define expr_trivial_usage \ |
#define expr_trivial_usage \ |
1107 |
"EXPRESSION" |
"EXPRESSION" |
1108 |
#define expr_full_usage "\n\n" \ |
#define expr_full_usage "\n\n" \ |
1109 |
"Print the value of EXPRESSION to standard output.\n" \ |
"Print the value of EXPRESSION to stdout\n" \ |
1110 |
"\n" \ |
"\n" \ |
1111 |
"EXPRESSION may be:\n" \ |
"EXPRESSION may be:\n" \ |
1112 |
" ARG1 | ARG2 ARG1 if it is neither null nor 0, otherwise ARG2\n" \ |
" ARG1 | ARG2 ARG1 if it is neither null nor 0, otherwise ARG2\n" \ |
1113 |
" ARG1 & ARG2 ARG1 if neither argument is null or 0, otherwise 0\n" \ |
" ARG1 & ARG2 ARG1 if neither argument is null or 0, otherwise 0\n" \ |
1147 |
"\n -i Inetd mode" \ |
"\n -i Inetd mode" \ |
1148 |
"\n -w Inetd 'wait' mode" \ |
"\n -w Inetd 'wait' mode" \ |
1149 |
"\n -b ADDR Bind to specified address" \ |
"\n -b ADDR Bind to specified address" \ |
1150 |
"\n STRING Ident answer string (default is 'nobody')" \ |
"\n STRING Ident answer string (default: nobody)" \ |
1151 |
|
|
1152 |
#define false_trivial_usage \ |
#define false_trivial_usage \ |
1153 |
"" |
"" |
1160 |
"1\n" |
"1\n" |
1161 |
|
|
1162 |
#define fbset_trivial_usage \ |
#define fbset_trivial_usage \ |
1163 |
"[options] [mode]" |
"[OPTIONS] [MODE]" |
1164 |
#define fbset_full_usage "\n\n" \ |
#define fbset_full_usage "\n\n" \ |
1165 |
"Show and modify frame buffer settings" |
"Show and modify frame buffer settings" |
1166 |
|
|
1189 |
/* Looks like someone forgot to add this to config system */ |
/* Looks like someone forgot to add this to config system */ |
1190 |
#ifndef ENABLE_FEATURE_FDISK_BLKSIZE |
#ifndef ENABLE_FEATURE_FDISK_BLKSIZE |
1191 |
# define ENABLE_FEATURE_FDISK_BLKSIZE 0 |
# define ENABLE_FEATURE_FDISK_BLKSIZE 0 |
1192 |
# define USE_FEATURE_FDISK_BLKSIZE(a) |
# define IF_FEATURE_FDISK_BLKSIZE(a) |
1193 |
#endif |
#endif |
1194 |
|
|
1195 |
#define fdisk_trivial_usage \ |
#define fdisk_trivial_usage \ |
1196 |
"[-ul" USE_FEATURE_FDISK_BLKSIZE("s") "] " \ |
"[-ul" IF_FEATURE_FDISK_BLKSIZE("s") "] " \ |
1197 |
"[-C CYLINDERS] [-H HEADS] [-S SECTORS] [-b SSZ] DISK" |
"[-C CYLINDERS] [-H HEADS] [-S SECTORS] [-b SSZ] DISK" |
1198 |
#define fdisk_full_usage "\n\n" \ |
#define fdisk_full_usage "\n\n" \ |
1199 |
"Change partition table\n" \ |
"Change partition table\n" \ |
1200 |
"\nOptions:" \ |
"\nOptions:" \ |
1201 |
"\n -u Start and End are in sectors (instead of cylinders)" \ |
"\n -u Start and End are in sectors (instead of cylinders)" \ |
1202 |
"\n -l Show partition table for each DISK, then exit" \ |
"\n -l Show partition table for each DISK, then exit" \ |
1203 |
USE_FEATURE_FDISK_BLKSIZE( \ |
IF_FEATURE_FDISK_BLKSIZE( \ |
1204 |
"\n -s Show partition sizes in kb for each DISK, then exit" \ |
"\n -s Show partition sizes in kb for each DISK, then exit" \ |
1205 |
) \ |
) \ |
1206 |
"\n -b 2048 (for certain MO disks) use 2048-byte sectors" \ |
"\n -b 2048 (for certain MO disks) use 2048-byte sectors" \ |
1211 |
#define blkid_trivial_usage \ |
#define blkid_trivial_usage \ |
1212 |
"" |
"" |
1213 |
#define blkid_full_usage "\n\n" \ |
#define blkid_full_usage "\n\n" \ |
1214 |
"Print UUIDs of all filesystems." |
"Print UUIDs of all filesystems" |
1215 |
|
|
1216 |
#define findfs_trivial_usage \ |
#define findfs_trivial_usage \ |
1217 |
"LABEL=label or UUID=uuid" |
"LABEL=label or UUID=uuid" |
1218 |
#define findfs_full_usage "\n\n" \ |
#define findfs_full_usage "\n\n" \ |
1219 |
"Find a filesystem device based on a label or UUID." |
"Find a filesystem device based on a label or UUID" |
1220 |
#define findfs_example_usage \ |
#define findfs_example_usage \ |
1221 |
"$ findfs LABEL=MyDevice" |
"$ findfs LABEL=MyDevice" |
1222 |
|
|
1223 |
#define find_trivial_usage \ |
#define find_trivial_usage \ |
1224 |
"[PATH...] [EXPRESSION]" |
"[PATH]... [EXPRESSION]" |
1225 |
#define find_full_usage "\n\n" \ |
#define find_full_usage "\n\n" \ |
1226 |
"Search for files. The default PATH is the current directory,\n" \ |
"Search for files. The default PATH is the current directory,\n" \ |
1227 |
"default EXPRESSION is '-print'\n" \ |
"default EXPRESSION is '-print'\n" \ |
1228 |
"\nEXPRESSION may consist of:" \ |
"\nEXPRESSION may consist of:" \ |
1229 |
"\n -follow Dereference symlinks" \ |
"\n -follow Follow symlinks" \ |
1230 |
USE_FEATURE_FIND_XDEV( \ |
IF_FEATURE_FIND_XDEV( \ |
1231 |
"\n -xdev Don't descend directories on other filesystems") \ |
"\n -xdev Don't descend directories on other filesystems") \ |
1232 |
USE_FEATURE_FIND_MAXDEPTH( \ |
IF_FEATURE_FIND_MAXDEPTH( \ |
1233 |
"\n -maxdepth N Descend at most N levels. -maxdepth 0 applies" \ |
"\n -maxdepth N Descend at most N levels. -maxdepth 0 applies" \ |
1234 |
"\n tests/actions to command line arguments only") \ |
"\n tests/actions to command line arguments only") \ |
1235 |
|
"\n -mindepth N Don't act on first N levels" \ |
1236 |
"\n -name PATTERN File name (w/o directory name) matches PATTERN" \ |
"\n -name PATTERN File name (w/o directory name) matches PATTERN" \ |
1237 |
"\n -iname PATTERN Case insensitive -name" \ |
"\n -iname PATTERN Case insensitive -name" \ |
1238 |
USE_FEATURE_FIND_PATH( \ |
IF_FEATURE_FIND_PATH( \ |
1239 |
"\n -path PATTERN Path matches PATTERN") \ |
"\n -path PATTERN Path matches PATTERN") \ |
1240 |
USE_FEATURE_FIND_REGEX( \ |
IF_FEATURE_FIND_REGEX( \ |
1241 |
"\n -regex PATTERN Path matches regex PATTERN") \ |
"\n -regex PATTERN Path matches regex PATTERN") \ |
1242 |
USE_FEATURE_FIND_TYPE( \ |
IF_FEATURE_FIND_TYPE( \ |
1243 |
"\n -type X File type is X (X is one of: f,d,l,b,c,...)") \ |
"\n -type X File type is X (X is one of: f,d,l,b,c,...)") \ |
1244 |
USE_FEATURE_FIND_PERM( \ |
IF_FEATURE_FIND_PERM( \ |
1245 |
"\n -perm NNN Permissions match any of (+NNN), all of (-NNN)," \ |
"\n -perm NNN Permissions match any of (+NNN), all of (-NNN)," \ |
1246 |
"\n or exactly (NNN)") \ |
"\n or exactly NNN") \ |
1247 |
USE_FEATURE_FIND_MTIME( \ |
IF_FEATURE_FIND_MTIME( \ |
1248 |
"\n -mtime DAYS Modified time is greater than (+N), less than (-N)," \ |
"\n -mtime DAYS Modified time is greater than (+N), less than (-N)," \ |
1249 |
"\n or exactly (N) days") \ |
"\n or exactly N days") \ |
1250 |
USE_FEATURE_FIND_MMIN( \ |
IF_FEATURE_FIND_MMIN( \ |
1251 |
"\n -mmin MINS Modified time is greater than (+N), less than (-N)," \ |
"\n -mmin MINS Modified time is greater than (+N), less than (-N)," \ |
1252 |
"\n or exactly (N) minutes") \ |
"\n or exactly N minutes") \ |
1253 |
USE_FEATURE_FIND_NEWER( \ |
IF_FEATURE_FIND_NEWER( \ |
1254 |
"\n -newer FILE Modified time is more recent than FILE's") \ |
"\n -newer FILE Modified time is more recent than FILE's") \ |
1255 |
USE_FEATURE_FIND_INUM( \ |
IF_FEATURE_FIND_INUM( \ |
1256 |
"\n -inum N File has inode number N") \ |
"\n -inum N File has inode number N") \ |
1257 |
USE_FEATURE_FIND_USER( \ |
IF_FEATURE_FIND_USER( \ |
1258 |
"\n -user NAME File is owned by user NAME (numeric user ID allowed)") \ |
"\n -user NAME File is owned by user NAME (numeric user ID allowed)") \ |
1259 |
USE_FEATURE_FIND_GROUP( \ |
IF_FEATURE_FIND_GROUP( \ |
1260 |
"\n -group NAME File belongs to group NAME (numeric group ID allowed)") \ |
"\n -group NAME File belongs to group NAME (numeric group ID allowed)") \ |
1261 |
USE_FEATURE_FIND_DEPTH( \ |
IF_FEATURE_FIND_DEPTH( \ |
1262 |
"\n -depth Process directory name after traversing it") \ |
"\n -depth Process directory name after traversing it") \ |
1263 |
USE_FEATURE_FIND_SIZE( \ |
IF_FEATURE_FIND_SIZE( \ |
1264 |
"\n -size N[bck] File size is N (c:bytes,k:kbytes,b:512 bytes(def.))." \ |
"\n -size N[bck] File size is N (c:bytes,k:kbytes,b:512 bytes(def.))" \ |
1265 |
"\n +/-N: file size is bigger/smaller than N") \ |
"\n +/-N: file size is bigger/smaller than N") \ |
1266 |
|
IF_FEATURE_FIND_LINKS( \ |
1267 |
|
"\n -links N Number of links is greater than (+N), less than (-N)," \ |
1268 |
|
"\n or exactly N") \ |
1269 |
"\n -print Print (default and assumed)" \ |
"\n -print Print (default and assumed)" \ |
1270 |
USE_FEATURE_FIND_PRINT0( \ |
IF_FEATURE_FIND_PRINT0( \ |
1271 |
"\n -print0 Delimit output with null characters rather than" \ |
"\n -print0 Delimit output with null characters rather than" \ |
1272 |
"\n newlines") \ |
"\n newlines") \ |
1273 |
USE_FEATURE_FIND_CONTEXT ( \ |
IF_FEATURE_FIND_CONTEXT ( \ |
1274 |
"\n -context File has specified security context") \ |
"\n -context File has specified security context") \ |
1275 |
USE_FEATURE_FIND_EXEC( \ |
IF_FEATURE_FIND_EXEC( \ |
1276 |
"\n -exec CMD ARG ; Execute CMD with all instances of {} replaced by the" \ |
"\n -exec CMD ARG ; Run CMD with all instances of {} replaced by the" \ |
1277 |
"\n matching files") \ |
"\n matching files") \ |
1278 |
USE_FEATURE_FIND_PRUNE( \ |
IF_FEATURE_FIND_PRUNE( \ |
1279 |
"\n -prune Stop traversing current subtree") \ |
"\n -prune Stop traversing current subtree") \ |
1280 |
USE_FEATURE_FIND_DELETE( \ |
IF_FEATURE_FIND_DELETE( \ |
1281 |
"\n -delete Delete files, turns on -depth option") \ |
"\n -delete Delete files, turns on -depth option") \ |
1282 |
USE_FEATURE_FIND_PAREN( \ |
IF_FEATURE_FIND_PAREN( \ |
1283 |
"\n (EXPR) Group an expression") \ |
"\n (EXPR) Group an expression") \ |
1284 |
|
|
1285 |
#define find_example_usage \ |
#define find_example_usage \ |
1286 |
"$ find / -name passwd\n" \ |
"$ find / -name passwd\n" \ |
1287 |
"/etc/passwd\n" |
"/etc/passwd\n" |
1288 |
|
|
1289 |
|
#define flash_lock_trivial_usage \ |
1290 |
|
"MTD_DEVICE OFFSET SECTORS" |
1291 |
|
#define flash_lock_full_usage "\n\n" \ |
1292 |
|
"Lock part or all of an MTD device. If SECTORS is -1, then all sectors\n" \ |
1293 |
|
"will be locked, regardless of the value of OFFSET" |
1294 |
|
|
1295 |
|
#define flash_unlock_trivial_usage \ |
1296 |
|
"MTD_DEVICE" |
1297 |
|
#define flash_unlock_full_usage "\n\n" \ |
1298 |
|
"Unlock an MTD device" |
1299 |
|
|
1300 |
|
#define flash_eraseall_trivial_usage \ |
1301 |
|
"[-jq] MTD_DEVICE" |
1302 |
|
#define flash_eraseall_full_usage "\n\n" \ |
1303 |
|
"Erase an MTD device\n" \ |
1304 |
|
"\nOptions:" \ |
1305 |
|
"\n -j Format the device for jffs2" \ |
1306 |
|
"\n -q Don't display progress messages" \ |
1307 |
|
|
1308 |
|
#define flashcp_trivial_usage \ |
1309 |
|
"-v FILE MTD_DEVICE" |
1310 |
|
#define flashcp_full_usage "\n\n" \ |
1311 |
|
"Copy an image to MTD device\n" \ |
1312 |
|
"\nOptions:" \ |
1313 |
|
"\n -v Verbose" \ |
1314 |
|
|
1315 |
#define fold_trivial_usage \ |
#define fold_trivial_usage \ |
1316 |
"[-bs] [-w WIDTH] [FILE]" |
"[-bs] [-w WIDTH] [FILE]..." |
1317 |
#define fold_full_usage "\n\n" \ |
#define fold_full_usage "\n\n" \ |
1318 |
"Wrap input lines in each FILE (standard input by default), writing to\n" \ |
"Wrap input lines in each FILE (or stdin), writing to stdout\n" \ |
|
"standard output\n" \ |
|
1319 |
"\nOptions:" \ |
"\nOptions:" \ |
1320 |
"\n -b Count bytes rather than columns" \ |
"\n -b Count bytes rather than columns" \ |
1321 |
"\n -s Break at spaces" \ |
"\n -s Break at spaces" \ |
1340 |
"$ freeramdisk /dev/ram2\n" |
"$ freeramdisk /dev/ram2\n" |
1341 |
|
|
1342 |
#define fsck_trivial_usage \ |
#define fsck_trivial_usage \ |
1343 |
"[-ANPRTV] [-C fd] [-t fstype] [fs-options] [filesys...]" |
"[-ANPRTV] [-C FD] [-t FSTYPE] [FS_OPTS] [BLOCKDEV]..." |
1344 |
#define fsck_full_usage "\n\n" \ |
#define fsck_full_usage "\n\n" \ |
1345 |
"Check and repair filesystems\n" \ |
"Check and repair filesystems\n" \ |
1346 |
"\nOptions:" \ |
"\nOptions:" \ |
1351 |
"\n -T Don't show title on startup" \ |
"\n -T Don't show title on startup" \ |
1352 |
"\n -V Verbose" \ |
"\n -V Verbose" \ |
1353 |
"\n -C n Write status information to specified filedescriptor" \ |
"\n -C n Write status information to specified filedescriptor" \ |
1354 |
"\n -t type List of filesystem types to check" \ |
"\n -t TYPE List of filesystem types to check" \ |
1355 |
|
|
1356 |
#define fsck_minix_trivial_usage \ |
#define fsck_minix_trivial_usage \ |
1357 |
"[-larvsmf] /dev/name" |
"[-larvsmf] BLOCKDEV" |
1358 |
#define fsck_minix_full_usage "\n\n" \ |
#define fsck_minix_full_usage "\n\n" \ |
1359 |
"Check MINIX filesystem\n" \ |
"Check MINIX filesystem\n" \ |
1360 |
"\nOptions:" \ |
"\nOptions:" \ |
1366 |
"\n -m Show \"mode not cleared\" warnings" \ |
"\n -m Show \"mode not cleared\" warnings" \ |
1367 |
"\n -f Force file system check" \ |
"\n -f Force file system check" \ |
1368 |
|
|
1369 |
|
#define ftpd_trivial_usage \ |
1370 |
|
"[-wvS] [-t N] [-T N] [DIR]" |
1371 |
|
#define ftpd_full_usage "\n\n" \ |
1372 |
|
"Anonymous FTP server\n" \ |
1373 |
|
"\n" \ |
1374 |
|
"ftpd should be used as an inetd service.\n" \ |
1375 |
|
"ftpd's line for inetd.conf:\n" \ |
1376 |
|
" 21 stream tcp nowait root ftpd ftpd /files/to/serve\n" \ |
1377 |
|
"It also can be ran from tcpsvd:\n" \ |
1378 |
|
" tcpsvd -vE 0.0.0.0 21 ftpd /files/to/serve\n" \ |
1379 |
|
"\nOptions:" \ |
1380 |
|
"\n -w Allow upload" \ |
1381 |
|
"\n -v Log to stderr" \ |
1382 |
|
"\n -S Log to syslog" \ |
1383 |
|
"\n -t,-T Idle and absolute timeouts" \ |
1384 |
|
"\n DIR Change root to this directory" \ |
1385 |
|
|
1386 |
#define ftpget_trivial_usage \ |
#define ftpget_trivial_usage \ |
1387 |
"[options] remote-host local-file remote-file" |
"[OPTIONS] HOST [LOCAL_FILE] REMOTE_FILE" |
1388 |
#define ftpget_full_usage "\n\n" \ |
#define ftpget_full_usage "\n\n" \ |
1389 |
"Retrieve a remote file via FTP\n" \ |
"Retrieve a remote file via FTP\n" \ |
1390 |
"\nOptions:" \ |
"\nOptions:" \ |
1391 |
USE_FEATURE_FTPGETPUT_LONG_OPTIONS( \ |
IF_FEATURE_FTPGETPUT_LONG_OPTIONS( \ |
1392 |
"\n -c,--continue Continue previous transfer" \ |
"\n -c,--continue Continue previous transfer" \ |
1393 |
"\n -v,--verbose Verbose" \ |
"\n -v,--verbose Verbose" \ |
1394 |
"\n -u,--username Username" \ |
"\n -u,--username Username" \ |
1395 |
"\n -p,--password Password" \ |
"\n -p,--password Password" \ |
1396 |
"\n -P,--port Port number" \ |
"\n -P,--port Port number" \ |
1397 |
) \ |
) \ |
1398 |
SKIP_FEATURE_FTPGETPUT_LONG_OPTIONS( \ |
IF_NOT_FEATURE_FTPGETPUT_LONG_OPTIONS( \ |
1399 |
"\n -c Continue previous transfer" \ |
"\n -c Continue previous transfer" \ |
1400 |
"\n -v Verbose" \ |
"\n -v Verbose" \ |
1401 |
"\n -u Username" \ |
"\n -u Username" \ |
1404 |
) |
) |
1405 |
|
|
1406 |
#define ftpput_trivial_usage \ |
#define ftpput_trivial_usage \ |
1407 |
"[options] remote-host remote-file local-file" |
"[OPTIONS] HOST [REMOTE_FILE] LOCAL_FILE" |
1408 |
#define ftpput_full_usage "\n\n" \ |
#define ftpput_full_usage "\n\n" \ |
1409 |
"Store a local file on a remote machine via FTP\n" \ |
"Store a local file on a remote machine via FTP\n" \ |
1410 |
"\nOptions:" \ |
"\nOptions:" \ |
1411 |
USE_FEATURE_FTPGETPUT_LONG_OPTIONS( \ |
IF_FEATURE_FTPGETPUT_LONG_OPTIONS( \ |
1412 |
"\n -v,--verbose Verbose" \ |
"\n -v,--verbose Verbose" \ |
1413 |
"\n -u,--username Username" \ |
"\n -u,--username Username" \ |
1414 |
"\n -p,--password Password" \ |
"\n -p,--password Password" \ |
1415 |
"\n -P,--port Port number" \ |
"\n -P,--port Port number" \ |
1416 |
) \ |
) \ |
1417 |
SKIP_FEATURE_FTPGETPUT_LONG_OPTIONS( \ |
IF_NOT_FEATURE_FTPGETPUT_LONG_OPTIONS( \ |
1418 |
"\n -v Verbose" \ |
"\n -v Verbose" \ |
1419 |
"\n -u Username" \ |
"\n -u Username" \ |
1420 |
"\n -p Password" \ |
"\n -p Password" \ |
1422 |
) |
) |
1423 |
|
|
1424 |
#define fuser_trivial_usage \ |
#define fuser_trivial_usage \ |
1425 |
"[options] FILE or PORT/PROTO" |
"[OPTIONS] FILE or PORT/PROTO" |
1426 |
#define fuser_full_usage "\n\n" \ |
#define fuser_full_usage "\n\n" \ |
1427 |
"Find processes which use FILEs or PORTs\n" \ |
"Find processes which use FILEs or PORTs\n" \ |
1428 |
"\nOptions:" \ |
"\nOptions:" \ |
1437 |
#define getenforce_full_usage "" |
#define getenforce_full_usage "" |
1438 |
|
|
1439 |
#define getopt_trivial_usage \ |
#define getopt_trivial_usage \ |
1440 |
"[OPTIONS]..." |
"[OPTIONS]" |
1441 |
#define getopt_full_usage "\n\n" \ |
#define getopt_full_usage "\n\n" \ |
1442 |
"Parse command options\n" \ |
"Options:" \ |
1443 |
USE_GETOPT_LONG( \ |
IF_LONG_OPTS( \ |
1444 |
"\n -a,--alternative Allow long options starting with single -" \ |
"\n -a,--alternative Allow long options starting with single -" \ |
1445 |
"\n -l,--longoptions=longopts Long options to be recognized" \ |
"\n -l,--longoptions=longopts Long options to be recognized" \ |
1446 |
"\n -n,--name=progname The name under which errors are reported" \ |
"\n -n,--name=progname The name under which errors are reported" \ |
1451 |
"\n -T,--test Test for getopt(1) version" \ |
"\n -T,--test Test for getopt(1) version" \ |
1452 |
"\n -u,--unquoted Don't quote the output" \ |
"\n -u,--unquoted Don't quote the output" \ |
1453 |
) \ |
) \ |
1454 |
SKIP_GETOPT_LONG( \ |
IF_NOT_LONG_OPTS( \ |
1455 |
"\n -a Allow long options starting with single -" \ |
"\n -a Allow long options starting with single -" \ |
1456 |
"\n -l longopts Long options to be recognized" \ |
"\n -l longopts Long options to be recognized" \ |
1457 |
"\n -n progname The name under which errors are reported" \ |
"\n -n progname The name under which errors are reported" \ |
1467 |
"#!/bin/sh\n" \ |
"#!/bin/sh\n" \ |
1468 |
"GETOPT=`getopt -o ab:c:: --long a-long,b-long:,c-long:: \\\n" \ |
"GETOPT=`getopt -o ab:c:: --long a-long,b-long:,c-long:: \\\n" \ |
1469 |
" -n 'example.busybox' -- \"$@\"`\n" \ |
" -n 'example.busybox' -- \"$@\"`\n" \ |
1470 |
"if [ $? != 0 ]; then exit 1; fi\n" \ |
"if [ $? != 0 ]; then exit 1; fi\n" \ |
1471 |
"eval set -- \"$GETOPT\"\n" \ |
"eval set -- \"$GETOPT\"\n" \ |
1472 |
"while true; do\n" \ |
"while true; do\n" \ |
1473 |
" case $1 in\n" \ |
" case $1 in\n" \ |
1494 |
"Open a tty, prompt for a login name, then invoke /bin/login\n" \ |
"Open a tty, prompt for a login name, then invoke /bin/login\n" \ |
1495 |
"\nOptions:" \ |
"\nOptions:" \ |
1496 |
"\n -h Enable hardware (RTS/CTS) flow control" \ |
"\n -h Enable hardware (RTS/CTS) flow control" \ |
1497 |
"\n -i Do not display /etc/issue before running login" \ |
"\n -i Don't display /etc/issue before running login" \ |
1498 |
"\n -L Local line, do not do carrier detect" \ |
"\n -L Local line, don't do carrier detect" \ |
1499 |
"\n -m Get baud rate from modem's CONNECT status message" \ |
"\n -m Get baud rate from modem's CONNECT status message" \ |
1500 |
"\n -w Wait for a CR or LF before sending /etc/issue" \ |
"\n -w Wait for a CR or LF before sending /etc/issue" \ |
1501 |
"\n -n Do not prompt the user for a login name" \ |
"\n -n Don't prompt the user for a login name" \ |
1502 |
"\n -f issue_file Display issue_file instead of /etc/issue" \ |
"\n -f ISSUE_FILE Display ISSUE_FILE instead of /etc/issue" \ |
1503 |
"\n -l login_app Invoke login_app instead of /bin/login" \ |
"\n -l LOGIN Invoke LOGIN instead of /bin/login" \ |
1504 |
"\n -t timeout Terminate after timeout if no username is read" \ |
"\n -t SEC Terminate after SEC if no username is read" \ |
1505 |
"\n -I initstring Init string to send before anything else" \ |
"\n -I INITSTR Send INITSTR before anything else" \ |
1506 |
"\n -H login_host Log login_host into the utmp file as the hostname" \ |
"\n -H HOST Log HOST into the utmp file as the hostname" \ |
1507 |
|
|
1508 |
#define grep_trivial_usage \ |
#define grep_trivial_usage \ |
1509 |
"[-HhrilLnqvso" \ |
"[-HhnlLoqvsri" \ |
1510 |
USE_DESKTOP("w") \ |
IF_DESKTOP("w") \ |
1511 |
"eF" \ |
"F" \ |
1512 |
USE_FEATURE_GREP_EGREP_ALIAS("E") \ |
IF_FEATURE_GREP_EGREP_ALIAS("E") \ |
1513 |
USE_FEATURE_GREP_CONTEXT("ABC") \ |
IF_EXTRA_COMPAT("z") \ |
1514 |
"] PATTERN [FILEs...]" |
"] [-m N] " \ |
1515 |
|
IF_FEATURE_GREP_CONTEXT("[-A/B/C N] ") \ |
1516 |
|
"PATTERN/-e PATTERN.../-f FILE [FILE]..." |
1517 |
#define grep_full_usage "\n\n" \ |
#define grep_full_usage "\n\n" \ |
1518 |
"Search for PATTERN in each FILE or standard input\n" \ |
"Search for PATTERN in FILEs (or stdin)\n" \ |
1519 |
"\nOptions:" \ |
"\nOptions:" \ |
1520 |
"\n -H Prefix output lines with filename where match was found" \ |
"\n -H Add 'filename:' prefix" \ |
1521 |
"\n -h Suppress the prefixing filename on output" \ |
"\n -h Do not add 'filename:' prefix" \ |
1522 |
"\n -r Recurse subdirectories" \ |
"\n -n Add 'line_no:' prefix" \ |
1523 |
"\n -i Ignore case distinctions" \ |
"\n -l Show only names of files that match" \ |
1524 |
"\n -l List names of files that match" \ |
"\n -L Show only names of files that don't match" \ |
1525 |
"\n -L List names of files that do not match" \ |
"\n -c Show only count of matching lines" \ |
1526 |
"\n -n Print line number with output lines" \ |
"\n -o Show only the matching part of line" \ |
1527 |
"\n -q Quiet. Return 0 if PATTERN is found, 1 otherwise" \ |
"\n -q Quiet. Return 0 if PATTERN is found, 1 otherwise" \ |
1528 |
"\n -v Select non-matching lines" \ |
"\n -v Select non-matching lines" \ |
1529 |
"\n -s Suppress file open/read error messages" \ |
"\n -s Suppress open and read errors" \ |
1530 |
"\n -c Only print count of matching lines" \ |
"\n -r Recurse" \ |
1531 |
"\n -o Show only the part of a line that matches PATTERN" \ |
"\n -i Ignore case" \ |
1532 |
"\n -m MAX Match up to MAX times per file" \ |
IF_DESKTOP( \ |
1533 |
USE_DESKTOP( \ |
"\n -w Match whole words only" \ |
1534 |
"\n -w Match whole words only") \ |
) \ |
1535 |
"\n -F PATTERN is a set of newline-separated strings" \ |
"\n -F PATTERN is a literal (not regexp)" \ |
1536 |
USE_FEATURE_GREP_EGREP_ALIAS( \ |
IF_FEATURE_GREP_EGREP_ALIAS( \ |
1537 |
"\n -E PATTERN is an extended regular expression") \ |
"\n -E PATTERN is an extended regexp" \ |
1538 |
|
) \ |
1539 |
|
IF_EXTRA_COMPAT( \ |
1540 |
|
"\n -z Input is NUL terminated" \ |
1541 |
|
) \ |
1542 |
|
"\n -m N Match up to N times per file" \ |
1543 |
|
IF_FEATURE_GREP_CONTEXT( \ |
1544 |
|
"\n -A N Print N lines of trailing context" \ |
1545 |
|
"\n -B N Print N lines of leading context" \ |
1546 |
|
"\n -C N Same as '-A N -B N'" \ |
1547 |
|
) \ |
1548 |
"\n -e PTRN Pattern to match" \ |
"\n -e PTRN Pattern to match" \ |
1549 |
"\n -f FILE Read pattern from file" \ |
"\n -f FILE Read pattern from file" \ |
|
USE_FEATURE_GREP_CONTEXT( \ |
|
|
"\n -A Print NUM lines of trailing context" \ |
|
|
"\n -B Print NUM lines of leading context" \ |
|
|
"\n -C Print NUM lines of output context") \ |
|
1550 |
|
|
1551 |
#define grep_example_usage \ |
#define grep_example_usage \ |
1552 |
"$ grep root /etc/passwd\n" \ |
"$ grep root /etc/passwd\n" \ |
1561 |
#define fgrep_full_usage "" |
#define fgrep_full_usage "" |
1562 |
|
|
1563 |
#define gunzip_trivial_usage \ |
#define gunzip_trivial_usage \ |
1564 |
"[OPTION]... [FILE]..." |
"[OPTIONS] [FILE]..." |
1565 |
#define gunzip_full_usage "\n\n" \ |
#define gunzip_full_usage "\n\n" \ |
1566 |
"Uncompress FILEs (or standard input)\n" \ |
"Uncompress FILEs (or stdin)\n" \ |
1567 |
"\nOptions:" \ |
"\nOptions:" \ |
1568 |
"\n -c Write to standard output" \ |
"\n -c Write to stdout" \ |
1569 |
"\n -f Force" \ |
"\n -f Force" \ |
1570 |
"\n -t Test file integrity" \ |
"\n -t Test file integrity" \ |
1571 |
|
|
1577 |
"-rw-rw-r-- 1 andersen andersen 1761280 Apr 14 17:47 /tmp/BusyBox-0.43.tar\n" |
"-rw-rw-r-- 1 andersen andersen 1761280 Apr 14 17:47 /tmp/BusyBox-0.43.tar\n" |
1578 |
|
|
1579 |
#define gzip_trivial_usage \ |
#define gzip_trivial_usage \ |
1580 |
"[OPTION]... [FILE]..." |
"[OPTIONS] [FILE]..." |
1581 |
#define gzip_full_usage "\n\n" \ |
#define gzip_full_usage "\n\n" \ |
1582 |
"Compress FILEs (or standard input)\n" \ |
"Compress FILEs (or stdin)\n" \ |
1583 |
"\nOptions:" \ |
"\nOptions:" \ |
1584 |
"\n -c Write to standard output" \ |
"\n -c Write to stdout" \ |
1585 |
"\n -d Decompress" \ |
"\n -d Decompress" \ |
1586 |
"\n -f Force" \ |
"\n -f Force" \ |
1587 |
|
|
1593 |
"-rw-rw-r-- 1 andersen andersen 554058 Apr 14 17:49 /tmp/busybox.tar.gz\n" |
"-rw-rw-r-- 1 andersen andersen 554058 Apr 14 17:49 /tmp/busybox.tar.gz\n" |
1594 |
|
|
1595 |
#define halt_trivial_usage \ |
#define halt_trivial_usage \ |
1596 |
"[-d delay] [-n] [-f]" USE_FEATURE_WTMP(" [-w]") |
"[-d DELAY] [-n] [-f]" IF_FEATURE_WTMP(" [-w]") |
1597 |
#define halt_full_usage "\n\n" \ |
#define halt_full_usage "\n\n" \ |
1598 |
"Halt the system\n" \ |
"Halt the system\n" \ |
1599 |
"\nOptions:" \ |
"\nOptions:" \ |
1600 |
"\n -d Delay interval for halting" \ |
"\n -d Delay interval for halting" \ |
1601 |
"\n -n No call to sync()" \ |
"\n -n No call to sync()" \ |
1602 |
"\n -f Force halt (don't go through init)" \ |
"\n -f Force halt (don't go through init)" \ |
1603 |
USE_FEATURE_WTMP( \ |
IF_FEATURE_WTMP( \ |
1604 |
"\n -w Only write a wtmp record" \ |
"\n -w Only write a wtmp record" \ |
1605 |
) |
) |
1606 |
|
|
1607 |
#define hdparm_trivial_usage \ |
#define hdparm_trivial_usage \ |
1608 |
"[options] [device] .." |
"[OPTIONS] [DEVICE]" |
1609 |
#define hdparm_full_usage "\n\n" \ |
#define hdparm_full_usage "\n\n" \ |
1610 |
"Options:" \ |
"Options:" \ |
1611 |
"\n -a Get/set fs readahead" \ |
"\n -a Get/set fs readahead" \ |
1614 |
"\n -B Set Advanced Power Management setting (1-255)" \ |
"\n -B Set Advanced Power Management setting (1-255)" \ |
1615 |
"\n -c Get/set IDE 32-bit IO setting" \ |
"\n -c Get/set IDE 32-bit IO setting" \ |
1616 |
"\n -C Check IDE power mode status" \ |
"\n -C Check IDE power mode status" \ |
1617 |
USE_FEATURE_HDPARM_HDIO_GETSET_DMA( \ |
IF_FEATURE_HDPARM_HDIO_GETSET_DMA( \ |
1618 |
"\n -d Get/set using_dma flag") \ |
"\n -d Get/set using_dma flag") \ |
1619 |
"\n -D Enable/disable drive defect-mgmt" \ |
"\n -D Enable/disable drive defect-mgmt" \ |
1620 |
"\n -f Flush buffer cache for device on exit" \ |
"\n -f Flush buffer cache for device on exit" \ |
1621 |
"\n -g Display drive geometry" \ |
"\n -g Display drive geometry" \ |
1622 |
"\n -h Display terse usage information" \ |
"\n -h Display terse usage information" \ |
1623 |
USE_FEATURE_HDPARM_GET_IDENTITY( \ |
IF_FEATURE_HDPARM_GET_IDENTITY( \ |
1624 |
"\n -i Display drive identification") \ |
"\n -i Display drive identification") \ |
1625 |
USE_FEATURE_HDPARM_GET_IDENTITY( \ |
IF_FEATURE_HDPARM_GET_IDENTITY( \ |
1626 |
"\n -I Detailed/current information directly from drive") \ |
"\n -I Detailed/current information directly from drive") \ |
1627 |
"\n -k Get/set keep_settings_over_reset flag (0/1)" \ |
"\n -k Get/set keep_settings_over_reset flag (0/1)" \ |
1628 |
"\n -K Set drive keep_features_over_reset flag (0/1)" \ |
"\n -K Set drive keep_features_over_reset flag (0/1)" \ |
1634 |
/* "\n -q Change next setting quietly" - not supported ib bbox */ \ |
/* "\n -q Change next setting quietly" - not supported ib bbox */ \ |
1635 |
"\n -Q Get/set DMA tagged-queuing depth (if supported)" \ |
"\n -Q Get/set DMA tagged-queuing depth (if supported)" \ |
1636 |
"\n -r Get/set readonly flag (DANGEROUS to set)" \ |
"\n -r Get/set readonly flag (DANGEROUS to set)" \ |
1637 |
USE_FEATURE_HDPARM_HDIO_SCAN_HWIF( \ |
IF_FEATURE_HDPARM_HDIO_SCAN_HWIF( \ |
1638 |
"\n -R Register an IDE interface (DANGEROUS)") \ |
"\n -R Register an IDE interface (DANGEROUS)") \ |
1639 |
"\n -S Set standby (spindown) timeout" \ |
"\n -S Set standby (spindown) timeout" \ |
1640 |
"\n -t Perform device read timings" \ |
"\n -t Perform device read timings" \ |
1641 |
"\n -T Perform cache read timings" \ |
"\n -T Perform cache read timings" \ |
1642 |
"\n -u Get/set unmaskirq flag (0/1)" \ |
"\n -u Get/set unmaskirq flag (0/1)" \ |
1643 |
USE_FEATURE_HDPARM_HDIO_UNREGISTER_HWIF( \ |
IF_FEATURE_HDPARM_HDIO_UNREGISTER_HWIF( \ |
1644 |
"\n -U Un-register an IDE interface (DANGEROUS)") \ |
"\n -U Unregister an IDE interface (DANGEROUS)") \ |
1645 |
"\n -v Defaults; same as -mcudkrag for IDE drives" \ |
"\n -v Defaults; same as -mcudkrag for IDE drives" \ |
1646 |
"\n -V Display program version and exit immediately" \ |
"\n -V Display program version and exit immediately" \ |
1647 |
USE_FEATURE_HDPARM_HDIO_DRIVE_RESET( \ |
IF_FEATURE_HDPARM_HDIO_DRIVE_RESET( \ |
1648 |
"\n -w Perform device reset (DANGEROUS)") \ |
"\n -w Perform device reset (DANGEROUS)") \ |
1649 |
"\n -W Set drive write-caching flag (0/1) (DANGEROUS)" \ |
"\n -W Set drive write-caching flag (0/1) (DANGEROUS)" \ |
1650 |
USE_FEATURE_HDPARM_HDIO_TRISTATE_HWIF( \ |
IF_FEATURE_HDPARM_HDIO_TRISTATE_HWIF( \ |
1651 |
"\n -x Tristate device for hotswap (0/1) (DANGEROUS)") \ |
"\n -x Tristate device for hotswap (0/1) (DANGEROUS)") \ |
1652 |
"\n -X Set IDE xfer mode (DANGEROUS)" \ |
"\n -X Set IDE xfer mode (DANGEROUS)" \ |
1653 |
"\n -y Put IDE drive in standby mode" \ |
"\n -y Put IDE drive in standby mode" \ |
1654 |
"\n -Y Put IDE drive to sleep" \ |
"\n -Y Put IDE drive to sleep" \ |
1655 |
"\n -Z Disable Seagate auto-powersaving mode" \ |
"\n -Z Disable Seagate auto-powersaving mode" \ |
1656 |
"\n -z Re-read partition table" \ |
"\n -z Reread partition table" \ |
1657 |
|
|
1658 |
#define head_trivial_usage \ |
#define head_trivial_usage \ |
1659 |
"[OPTION]... [FILE]..." |
"[OPTIONS] [FILE]..." |
1660 |
#define head_full_usage "\n\n" \ |
#define head_full_usage "\n\n" \ |
1661 |
"Print first 10 lines of each FILE to standard output.\n" \ |
"Print first 10 lines of each FILE (or stdin) to stdout.\n" \ |
1662 |
"With more than one FILE, precede each with a header giving the\n" \ |
"With more than one FILE, precede each with a header giving the file name.\n" \ |
1663 |
"file name. With no FILE, or when FILE is -, read standard input.\n" \ |
"\nOptions:" \ |
1664 |
"\nOptions:" \ |
"\n -n N Print first N lines instead of first 10" \ |
1665 |
"\n -n NUM Print first NUM lines instead of first 10" \ |
IF_FEATURE_FANCY_HEAD( \ |
1666 |
USE_FEATURE_FANCY_HEAD( \ |
"\n -c N Output the first N bytes" \ |
|
"\n -c NUM Output the first NUM bytes" \ |
|
1667 |
"\n -q Never output headers giving file names" \ |
"\n -q Never output headers giving file names" \ |
1668 |
"\n -v Always output headers giving file names") \ |
"\n -v Always output headers giving file names") \ |
1669 |
|
|
1673 |
"daemon:x:1:1:daemon:/usr/sbin:/bin/sh\n" |
"daemon:x:1:1:daemon:/usr/sbin:/bin/sh\n" |
1674 |
|
|
1675 |
#define hexdump_trivial_usage \ |
#define hexdump_trivial_usage \ |
1676 |
"[-bcCdefnosvx" USE_FEATURE_HEXDUMP_REVERSE("R") "] FILE..." |
"[-bcCdefnosvx" IF_FEATURE_HEXDUMP_REVERSE("R") "] [FILE]..." |
1677 |
#define hexdump_full_usage "\n\n" \ |
#define hexdump_full_usage "\n\n" \ |
1678 |
"Display file(s) or standard input in a user specified format\n" \ |
"Display FILEs (or stdin) in a user specified format\n" \ |
1679 |
"\nOptions:" \ |
"\nOptions:" \ |
1680 |
"\n -b One-byte octal display" \ |
"\n -b One-byte octal display" \ |
1681 |
"\n -c One-byte character display" \ |
"\n -c One-byte character display" \ |
1688 |
"\n -s OFFSET Skip OFFSET bytes" \ |
"\n -s OFFSET Skip OFFSET bytes" \ |
1689 |
"\n -v Display all input data" \ |
"\n -v Display all input data" \ |
1690 |
"\n -x Two-byte hexadecimal display" \ |
"\n -x Two-byte hexadecimal display" \ |
1691 |
USE_FEATURE_HEXDUMP_REVERSE( \ |
IF_FEATURE_HEXDUMP_REVERSE( \ |
1692 |
"\n -R Reverse of 'hexdump -Cv'") \ |
"\n -R Reverse of 'hexdump -Cv'") \ |
1693 |
|
|
1694 |
#define hd_trivial_usage \ |
#define hd_trivial_usage \ |
1702 |
"Print out a unique 32-bit identifier for the machine" |
"Print out a unique 32-bit identifier for the machine" |
1703 |
|
|
1704 |
#define hostname_trivial_usage \ |
#define hostname_trivial_usage \ |
1705 |
"[OPTION] [hostname | -F FILE]" |
"[OPTIONS] [HOSTNAME | -F FILE]" |
1706 |
#define hostname_full_usage "\n\n" \ |
#define hostname_full_usage "\n\n" \ |
1707 |
"Get or set hostname or DNS domain name\n" \ |
"Get or set hostname or DNS domain name\n" \ |
1708 |
"\nOptions:" \ |
"\nOptions:" \ |
1710 |
"\n -i Addresses for the hostname" \ |
"\n -i Addresses for the hostname" \ |
1711 |
"\n -d DNS domain name" \ |
"\n -d DNS domain name" \ |
1712 |
"\n -f Fully qualified domain name" \ |
"\n -f Fully qualified domain name" \ |
1713 |
"\n -F FILE Use the contents of FILE to specify the hostname" \ |
"\n -F FILE Use FILE's content as hostname" \ |
1714 |
|
|
1715 |
#define hostname_example_usage \ |
#define hostname_example_usage \ |
1716 |
"$ hostname\n" \ |
"$ hostname\n" \ |
1717 |
"sage\n" |
"sage\n" |
1718 |
|
|
1719 |
|
#define dnsdomainname_trivial_usage NOUSAGE_STR |
1720 |
|
#define dnsdomainname_full_usage "" |
1721 |
|
|
1722 |
#define httpd_trivial_usage \ |
#define httpd_trivial_usage \ |
1723 |
"[-c conffile]" \ |
"[-ifv[v]]" \ |
1724 |
" [-p [ip:]port]" \ |
" [-c CONFFILE]" \ |
1725 |
" [-i] [-f] [-v[v]]" \ |
" [-p [IP:]PORT]" \ |
1726 |
USE_FEATURE_HTTPD_SETUID(" [-u user[:grp]]") \ |
IF_FEATURE_HTTPD_SETUID(" [-u USER[:GRP]]") \ |
1727 |
USE_FEATURE_HTTPD_BASIC_AUTH(" [-r realm]") \ |
IF_FEATURE_HTTPD_BASIC_AUTH(" [-r REALM]") \ |
1728 |
USE_FEATURE_HTTPD_AUTH_MD5(" [-m pass]") \ |
" [-h HOME]\n" \ |
1729 |
" [-h home]" \ |
"or httpd -d/-e" IF_FEATURE_HTTPD_AUTH_MD5("/-m") " STRING" |
|
" [-d/-e string]" |
|
1730 |
#define httpd_full_usage "\n\n" \ |
#define httpd_full_usage "\n\n" \ |
1731 |
"Listen for incoming HTTP requests\n" \ |
"Listen for incoming HTTP requests\n" \ |
1732 |
"\nOptions:" \ |
"\nOptions:" \ |
|
"\n -c FILE Configuration file (default httpd.conf)" \ |
|
|
"\n -p [IP:]PORT Bind to ip:port (default *:80)" \ |
|
1733 |
"\n -i Inetd mode" \ |
"\n -i Inetd mode" \ |
1734 |
"\n -f Do not daemonize" \ |
"\n -f Don't daemonize" \ |
1735 |
"\n -v[v] Verbose" \ |
"\n -v[v] Verbose" \ |
1736 |
USE_FEATURE_HTTPD_SETUID( \ |
"\n -c FILE Configuration file (default httpd.conf)" \ |
1737 |
|
"\n -p [IP:]PORT Bind to ip:port (default *:80)" \ |
1738 |
|
IF_FEATURE_HTTPD_SETUID( \ |
1739 |
"\n -u USER[:GRP] Set uid/gid after binding to port") \ |
"\n -u USER[:GRP] Set uid/gid after binding to port") \ |
1740 |
USE_FEATURE_HTTPD_BASIC_AUTH( \ |
IF_FEATURE_HTTPD_BASIC_AUTH( \ |
1741 |
"\n -r REALM Authentication Realm for Basic Authentication") \ |
"\n -r REALM Authentication Realm for Basic Authentication") \ |
|
USE_FEATURE_HTTPD_AUTH_MD5( \ |
|
|
"\n -m PASS Crypt PASS with md5 algorithm") \ |
|
1742 |
"\n -h HOME Home directory (default .)" \ |
"\n -h HOME Home directory (default .)" \ |
1743 |
|
IF_FEATURE_HTTPD_AUTH_MD5( \ |
1744 |
|
"\n -m STRING MD5 crypt STRING") \ |
1745 |
"\n -e STRING HTML encode STRING" \ |
"\n -e STRING HTML encode STRING" \ |
1746 |
"\n -d STRING URL decode STRING" \ |
"\n -d STRING URL decode STRING" \ |
1747 |
|
|
1748 |
#define hwclock_trivial_usage \ |
#define hwclock_trivial_usage \ |
1749 |
USE_FEATURE_HWCLOCK_LONG_OPTIONS( \ |
IF_FEATURE_HWCLOCK_LONG_OPTIONS( \ |
1750 |
"[-r|--show] [-s|--hctosys] [-w|--systohc]" \ |
"[-r|--show] [-s|--hctosys] [-w|--systohc]" \ |
1751 |
" [-l|--localtime] [-u|--utc]" \ |
" [-l|--localtime] [-u|--utc]" \ |
1752 |
" [-f FILE]" \ |
" [-f FILE]" \ |
1753 |
) \ |
) \ |
1754 |
SKIP_FEATURE_HWCLOCK_LONG_OPTIONS( \ |
IF_NOT_FEATURE_HWCLOCK_LONG_OPTIONS( \ |
1755 |
"[-r] [-s] [-w] [-l] [-u] [-f FILE]" \ |
"[-r] [-s] [-w] [-l] [-u] [-f FILE]" \ |
1756 |
) |
) |
1757 |
#define hwclock_full_usage "\n\n" \ |
#define hwclock_full_usage "\n\n" \ |
1765 |
"\n -f FILE Use specified device (e.g. /dev/rtc2)" \ |
"\n -f FILE Use specified device (e.g. /dev/rtc2)" \ |
1766 |
|
|
1767 |
#define id_trivial_usage \ |
#define id_trivial_usage \ |
1768 |
"[OPTIONS]... [USER]" |
"[OPTIONS] [USER]" |
1769 |
#define id_full_usage "\n\n" \ |
#define id_full_usage "\n\n" \ |
1770 |
"Print information about USER or the current user\n" \ |
"Print information about USER or the current user\n" \ |
1771 |
"\nOptions:" \ |
"\nOptions:" \ |
1772 |
USE_SELINUX( \ |
IF_SELINUX( \ |
1773 |
"\n -Z Print the security context" \ |
"\n -Z Print the security context" \ |
1774 |
) \ |
) \ |
1775 |
"\n -u Print user ID" \ |
"\n -u Print user ID" \ |
1783 |
"uid=1000(andersen) gid=1000(andersen)\n" |
"uid=1000(andersen) gid=1000(andersen)\n" |
1784 |
|
|
1785 |
#define ifconfig_trivial_usage \ |
#define ifconfig_trivial_usage \ |
1786 |
USE_FEATURE_IFCONFIG_STATUS("[-a]") " interface [address]" |
IF_FEATURE_IFCONFIG_STATUS("[-a]") " interface [address]" |
1787 |
#define ifconfig_full_usage "\n\n" \ |
#define ifconfig_full_usage "\n\n" \ |
1788 |
"Configure a network interface\n" \ |
"Configure a network interface\n" \ |
1789 |
"\nOptions:" \ |
"\nOptions:" \ |
1790 |
"\n" \ |
"\n" \ |
1791 |
USE_FEATURE_IPV6( \ |
IF_FEATURE_IPV6( \ |
1792 |
" [add ADDRESS[/PREFIXLEN]]\n") \ |
" [add ADDRESS[/PREFIXLEN]]\n") \ |
1793 |
USE_FEATURE_IPV6( \ |
IF_FEATURE_IPV6( \ |
1794 |
" [del ADDRESS[/PREFIXLEN]]\n") \ |
" [del ADDRESS[/PREFIXLEN]]\n") \ |
1795 |
" [[-]broadcast [ADDRESS]] [[-]pointopoint [ADDRESS]]\n" \ |
" [[-]broadcast [ADDRESS]] [[-]pointopoint [ADDRESS]]\n" \ |
1796 |
" [netmask ADDRESS] [dstaddr ADDRESS]\n" \ |
" [netmask ADDRESS] [dstaddr ADDRESS]\n" \ |
1797 |
USE_FEATURE_IFCONFIG_SLIP( \ |
IF_FEATURE_IFCONFIG_SLIP( \ |
1798 |
" [outfill NN] [keepalive NN]\n") \ |
" [outfill NN] [keepalive NN]\n") \ |
1799 |
" " USE_FEATURE_IFCONFIG_HW("[hw ether" USE_FEATURE_HWIB("|infiniband")" ADDRESS] ") "[metric NN] [mtu NN]\n" \ |
" " IF_FEATURE_IFCONFIG_HW("[hw ether" IF_FEATURE_HWIB("|infiniband")" ADDRESS] ") "[metric NN] [mtu NN]\n" \ |
1800 |
" [[-]trailers] [[-]arp] [[-]allmulti]\n" \ |
" [[-]trailers] [[-]arp] [[-]allmulti]\n" \ |
1801 |
" [multicast] [[-]promisc] [txqueuelen NN] [[-]dynamic]\n" \ |
" [multicast] [[-]promisc] [txqueuelen NN] [[-]dynamic]\n" \ |
1802 |
USE_FEATURE_IFCONFIG_MEMSTART_IOADDR_IRQ( \ |
IF_FEATURE_IFCONFIG_MEMSTART_IOADDR_IRQ( \ |
1803 |
" [mem_start NN] [io_addr NN] [irq NN]\n") \ |
" [mem_start NN] [io_addr NN] [irq NN]\n") \ |
1804 |
" [up|down] ..." |
" [up|down] ..." |
1805 |
|
|
1806 |
#define ifenslave_trivial_usage \ |
#define ifenslave_trivial_usage \ |
1807 |
"[-cdf] master-iface <slave-iface...>" |
"[-cdf] MASTER_IFACE SLAVE_IFACE..." |
1808 |
#define ifenslave_full_usage "\n\n" \ |
#define ifenslave_full_usage "\n\n" \ |
1809 |
"Configure network interfaces for parallel routing\n" \ |
"Configure network interfaces for parallel routing\n" \ |
1810 |
"\nOptions:" \ |
"\nOptions:" \ |
1814 |
/* "\n -r, --receive-slave Create a receive-only slave" */ |
/* "\n -r, --receive-slave Create a receive-only slave" */ |
1815 |
|
|
1816 |
#define ifenslave_example_usage \ |
#define ifenslave_example_usage \ |
1817 |
"To create a bond device, simply follow these three steps :\n" \ |
"To create a bond device, simply follow these three steps:\n" \ |
1818 |
"- ensure that the required drivers are properly loaded :\n" \ |
"- ensure that the required drivers are properly loaded:\n" \ |
1819 |
" # modprobe bonding ; modprobe <3c59x|eepro100|pcnet32|tulip|...>\n" \ |
" # modprobe bonding ; modprobe <3c59x|eepro100|pcnet32|tulip|...>\n" \ |
1820 |
"- assign an IP address to the bond device :\n" \ |
"- assign an IP address to the bond device:\n" \ |
1821 |
" # ifconfig bond0 <addr> netmask <mask> broadcast <bcast>\n" \ |
" # ifconfig bond0 <addr> netmask <mask> broadcast <bcast>\n" \ |
1822 |
"- attach all the interfaces you need to the bond device :\n" \ |
"- attach all the interfaces you need to the bond device:\n" \ |
1823 |
" # ifenslave bond0 eth0 eth1 eth2\n" \ |
" # ifenslave bond0 eth0 eth1 eth2\n" \ |
1824 |
" If bond0 didn't have a MAC address, it will take eth0's. Then, all\n" \ |
" If bond0 didn't have a MAC address, it will take eth0's. Then, all\n" \ |
1825 |
" interfaces attached AFTER this assignment will get the same MAC addr.\n\n" \ |
" interfaces attached AFTER this assignment will get the same MAC addr.\n\n" \ |
1826 |
" To detach a dead interface without setting the bond device down :\n" \ |
" To detach a dead interface without setting the bond device down:\n" \ |
1827 |
" # ifenslave -d bond0 eth1\n\n" \ |
" # ifenslave -d bond0 eth1\n\n" \ |
1828 |
" To set the bond device down and automatically release all the slaves :\n" \ |
" To set the bond device down and automatically release all the slaves:\n" \ |
1829 |
" # ifconfig bond0 down\n\n" \ |
" # ifconfig bond0 down\n\n" \ |
1830 |
" To change active slave :\n" \ |
" To change active slave:\n" \ |
1831 |
" # ifenslave -c bond0 eth0\n" \ |
" # ifenslave -c bond0 eth0\n" \ |
1832 |
|
|
1833 |
|
#define ifplugd_trivial_usage \ |
1834 |
|
"[OPTIONS]" |
1835 |
|
#define ifplugd_full_usage "\n\n" \ |
1836 |
|
"Network interface plug detection daemon\n" \ |
1837 |
|
"\nOptions:" \ |
1838 |
|
"\n -n Don't daemonize" \ |
1839 |
|
"\n -s Don't log to syslog" \ |
1840 |
|
"\n -i IFACE Interface" \ |
1841 |
|
"\n -f/-F Treat link detection error as link down/link up" \ |
1842 |
|
"\n (otherwise exit on error)" \ |
1843 |
|
"\n -a Don't up interface at each link probe" \ |
1844 |
|
"\n -M Monitor creation/destruction of interface" \ |
1845 |
|
"\n (otherwise it must exist)" \ |
1846 |
|
"\n -r PROG Script to run" \ |
1847 |
|
"\n -x ARG Extra argument for script" \ |
1848 |
|
"\n -I Don't exit on nonzero exit code from script" \ |
1849 |
|
"\n -p Don't run script on daemon startup" \ |
1850 |
|
"\n -q Don't run script on daemon quit" \ |
1851 |
|
"\n -l Run script on startup even if no cable is detected" \ |
1852 |
|
"\n -t SECS Poll time in seconds" \ |
1853 |
|
"\n -u SECS Delay before running script after link up" \ |
1854 |
|
"\n -d SECS Delay after link down" \ |
1855 |
|
"\n -m MODE API mode (mii, priv, ethtool, wlan, iff, auto)" \ |
1856 |
|
"\n -k Kill running daemon" \ |
1857 |
|
|
1858 |
#define ifup_trivial_usage \ |
#define ifup_trivial_usage \ |
1859 |
"[-ain"USE_FEATURE_IFUPDOWN_MAPPING("m")"vf] ifaces..." |
"[-ain"IF_FEATURE_IFUPDOWN_MAPPING("m")"vf] IFACE..." |
1860 |
#define ifup_full_usage "\n\n" \ |
#define ifup_full_usage "\n\n" \ |
1861 |
"Options:" \ |
"Options:" \ |
1862 |
"\n -a De/configure all interfaces automatically" \ |
"\n -a De/configure all interfaces automatically" \ |
1863 |
"\n -i FILE Use FILE for interface definitions" \ |
"\n -i FILE Use FILE for interface definitions" \ |
1864 |
"\n -n Print out what would happen, but don't do it" \ |
"\n -n Print out what would happen, but don't do it" \ |
1865 |
USE_FEATURE_IFUPDOWN_MAPPING( \ |
IF_FEATURE_IFUPDOWN_MAPPING( \ |
1866 |
"\n (note: doesn't disable mappings)" \ |
"\n (note: doesn't disable mappings)" \ |
1867 |
"\n -m Don't run any mappings" \ |
"\n -m Don't run any mappings" \ |
1868 |
) \ |
) \ |
1870 |
"\n -f Force de/configuration" \ |
"\n -f Force de/configuration" \ |
1871 |
|
|
1872 |
#define ifdown_trivial_usage \ |
#define ifdown_trivial_usage \ |
1873 |
"[-ain"USE_FEATURE_IFUPDOWN_MAPPING("m")"vf] ifaces..." |
"[-ain"IF_FEATURE_IFUPDOWN_MAPPING("m")"vf] ifaces..." |
1874 |
#define ifdown_full_usage "\n\n" \ |
#define ifdown_full_usage "\n\n" \ |
1875 |
"Options:" \ |
"Options:" \ |
1876 |
"\n -a De/configure all interfaces automatically" \ |
"\n -a De/configure all interfaces automatically" \ |
1877 |
"\n -i FILE Use FILE for interface definitions" \ |
"\n -i FILE Use FILE for interface definitions" \ |
1878 |
"\n -n Print out what would happen, but don't do it" \ |
"\n -n Print out what would happen, but don't do it" \ |
1879 |
USE_FEATURE_IFUPDOWN_MAPPING( \ |
IF_FEATURE_IFUPDOWN_MAPPING( \ |
1880 |
"\n (note: doesn't disable mappings)" \ |
"\n (note: doesn't disable mappings)" \ |
1881 |
"\n -m Don't run any mappings" \ |
"\n -m Don't run any mappings" \ |
1882 |
) \ |
) \ |
2027 |
" ::shutdown:/sbin/swapoff -a\n" |
" ::shutdown:/sbin/swapoff -a\n" |
2028 |
|
|
2029 |
#define inotifyd_trivial_usage \ |
#define inotifyd_trivial_usage \ |
2030 |
"/user/space/agent dir/or/file/being/watched[:mask] ..." |
"PROG FILE1[:MASK]..." |
2031 |
#define inotifyd_full_usage "\n\n" \ |
#define inotifyd_full_usage "\n\n" \ |
2032 |
"Spawn userspace agent on filesystem changes." \ |
"Run PROG on filesystem changes." \ |
2033 |
"\nWhen a filesystem event matching the mask occurs" \ |
"\nWhen a filesystem event matching MASK occurs on FILEn," \ |
2034 |
"\non specified file/directory an userspace agent is spawned" \ |
"\nPROG ACTUAL_EVENTS FILEn [SUBFILE] is run." \ |
2035 |
"\nwith the parameters:" \ |
"\nEvents:" \ |
|
"\n1. actual event(s)" \ |
|
|
"\n2. file/directory name" \ |
|
|
"\n3. name of subfile (if any), in case of watching a directory" \ |
|
|
"\n" \ |
|
2036 |
"\n a File is accessed" \ |
"\n a File is accessed" \ |
2037 |
"\n c File is modified" \ |
"\n c File is modified" \ |
2038 |
"\n e Metadata changed" \ |
"\n e Metadata changed" \ |
2039 |
"\n w Writtable file is closed" \ |
"\n w Writable file is closed" \ |
2040 |
"\n 0 Unwrittable file is closed" \ |
"\n 0 Unwritable file is closed" \ |
2041 |
"\n r File is opened" \ |
"\n r File is opened" \ |
2042 |
"\n m File is moved from X" \ |
"\n D File is deleted" \ |
2043 |
"\n y File is moved to Y" \ |
"\n M File is moved" \ |
2044 |
|
"\n u Backing fs is unmounted" \ |
2045 |
|
"\n o Event queue overflowed" \ |
2046 |
|
"\n x File can't be watched anymore" \ |
2047 |
|
"\nIf watching a directory:" \ |
2048 |
|
"\n m Subfile is moved into dir" \ |
2049 |
|
"\n y Subfile is moved out of dir" \ |
2050 |
"\n n Subfile is created" \ |
"\n n Subfile is created" \ |
2051 |
"\n d Subfile is deleted" \ |
"\n d Subfile is deleted" \ |
2052 |
"\n D Self is deleted" \ |
"\n" \ |
2053 |
"\n M Self is moved" \ |
"\ninotifyd waits for PROG to exit." \ |
2054 |
|
"\nWhen x event happens for all FILEs, inotifyd exits." \ |
2055 |
|
|
2056 |
|
/* 2.6 style insmod has no options and required filename |
2057 |
|
* (not module name - .ko can't be omitted) */ |
2058 |
#define insmod_trivial_usage \ |
#define insmod_trivial_usage \ |
2059 |
USE_FEATURE_2_4_MODULES("[OPTION]... ") "MODULE [symbol=value]..." |
IF_FEATURE_2_4_MODULES("[OPTIONS] MODULE ") \ |
2060 |
|
IF_NOT_FEATURE_2_4_MODULES("FILE ") \ |
2061 |
|
"[symbol=value]..." |
2062 |
#define insmod_full_usage "\n\n" \ |
#define insmod_full_usage "\n\n" \ |
2063 |
"Load the specified kernel modules into the kernel" \ |
"Load the specified kernel modules into the kernel" \ |
2064 |
USE_FEATURE_2_4_MODULES( "\n" \ |
IF_FEATURE_2_4_MODULES( "\n" \ |
2065 |
"\nOptions:" \ |
"\nOptions:" \ |
2066 |
"\n -f Force module to load into the wrong kernel version" \ |
"\n -f Force module to load into the wrong kernel version" \ |
2067 |
"\n -k Make module autoclean-able" \ |
"\n -k Make module autoclean-able" \ |
2068 |
"\n -v Verbose" \ |
"\n -v Verbose" \ |
2069 |
"\n -q Quiet" \ |
"\n -q Quiet" \ |
2070 |
"\n -L Lock to prevent simultaneous loads of a module" \ |
"\n -L Lock to prevent simultaneous loads of a module" \ |
2071 |
USE_FEATURE_INSMOD_LOAD_MAP( \ |
IF_FEATURE_INSMOD_LOAD_MAP( \ |
2072 |
"\n -m Output load map to stdout" \ |
"\n -m Output load map to stdout" \ |
2073 |
) \ |
) \ |
2074 |
"\n -o NAME Set internal module name to NAME" \ |
"\n -o NAME Set internal module name to NAME" \ |
2075 |
"\n -x Do not export externs" \ |
"\n -x Don't export externs" \ |
2076 |
) |
) |
2077 |
|
|
2078 |
/* -v, -b, -c are ignored */ |
/* -v, -b, -c are ignored */ |
2079 |
#define install_trivial_usage \ |
#define install_trivial_usage \ |
2080 |
"[-cdDsp] [-o USER] [-g GRP] [-m MODE] [source] dest|directory" |
"[-cdDsp] [-o USER] [-g GRP] [-m MODE] [SOURCE]... DEST" |
2081 |
#define install_full_usage "\n\n" \ |
#define install_full_usage "\n\n" \ |
2082 |
"Copy files and set attributes\n" \ |
"Copy files and set attributes\n" \ |
2083 |
"\nOptions:" \ |
"\nOptions:" \ |
2089 |
"\n -o USER Set ownership" \ |
"\n -o USER Set ownership" \ |
2090 |
"\n -g GRP Set group ownership" \ |
"\n -g GRP Set group ownership" \ |
2091 |
"\n -m MODE Set permissions" \ |
"\n -m MODE Set permissions" \ |
2092 |
USE_SELINUX( \ |
IF_SELINUX( \ |
2093 |
"\n -Z Set security context" \ |
"\n -Z Set security context" \ |
2094 |
) |
) |
2095 |
|
|
2096 |
|
#define ionice_trivial_usage \ |
2097 |
|
"[-c 1-3] [-n 0-7] [-p PID] [PROG]" |
2098 |
|
#define ionice_full_usage "\n\n" \ |
2099 |
|
"Change I/O scheduling class and priority\n" \ |
2100 |
|
"\nOptions:" \ |
2101 |
|
"\n -c Class. 1:realtime 2:best-effort 3:idle" \ |
2102 |
|
"\n -n Priority" \ |
2103 |
|
|
2104 |
/* would need to make the " | " optional depending on more than one selected: */ |
/* would need to make the " | " optional depending on more than one selected: */ |
2105 |
#define ip_trivial_usage \ |
#define ip_trivial_usage \ |
2106 |
"[OPTIONS] {" \ |
"[OPTIONS] {" \ |
2107 |
USE_FEATURE_IP_ADDRESS("address | ") \ |
IF_FEATURE_IP_ADDRESS("address | ") \ |
2108 |
USE_FEATURE_IP_ROUTE("route | ") \ |
IF_FEATURE_IP_ROUTE("route | ") \ |
2109 |
USE_FEATURE_IP_LINK("link | ") \ |
IF_FEATURE_IP_LINK("link | ") \ |
2110 |
USE_FEATURE_IP_TUNNEL("tunnel | ") \ |
IF_FEATURE_IP_TUNNEL("tunnel | ") \ |
2111 |
USE_FEATURE_IP_RULE("rule") \ |
IF_FEATURE_IP_RULE("rule") \ |
2112 |
"} {COMMAND}" |
"} {COMMAND}" |
2113 |
#define ip_full_usage "\n\n" \ |
#define ip_full_usage "\n\n" \ |
2114 |
"ip [OPTIONS] OBJECT {COMMAND}\n" \ |
"ip [OPTIONS] OBJECT {COMMAND}\n" \ |
2115 |
"where OBJECT := {" \ |
"where OBJECT := {" \ |
2116 |
USE_FEATURE_IP_ADDRESS("address | ") \ |
IF_FEATURE_IP_ADDRESS("address | ") \ |
2117 |
USE_FEATURE_IP_ROUTE("route | ") \ |
IF_FEATURE_IP_ROUTE("route | ") \ |
2118 |
USE_FEATURE_IP_LINK("link | ") \ |
IF_FEATURE_IP_LINK("link | ") \ |
2119 |
USE_FEATURE_IP_TUNNEL("tunnel | ") \ |
IF_FEATURE_IP_TUNNEL("tunnel | ") \ |
2120 |
USE_FEATURE_IP_RULE("rule") \ |
IF_FEATURE_IP_RULE("rule") \ |
2121 |
"}\n" \ |
"}\n" \ |
2122 |
"OPTIONS := { -f[amily] { inet | inet6 | link } | -o[neline] }" \ |
"OPTIONS := { -f[amily] { inet | inet6 | link } | -o[neline] }" \ |
2123 |
|
|
2134 |
" SCOPE-ID := [host | link | global | NUMBER]" \ |
" SCOPE-ID := [host | link | global | NUMBER]" \ |
2135 |
|
|
2136 |
#define ipcalc_trivial_usage \ |
#define ipcalc_trivial_usage \ |
2137 |
"[OPTION]... ADDRESS[[/]NETMASK] [NETMASK]" |
"[OPTIONS] ADDRESS[[/]NETMASK] [NETMASK]" |
2138 |
#define ipcalc_full_usage "\n\n" \ |
#define ipcalc_full_usage "\n\n" \ |
2139 |
"Calculate IP network settings from a IP address\n" \ |
"Calculate IP network settings from a IP address\n" \ |
2140 |
"\nOptions:" \ |
"\nOptions:" \ |
2141 |
USE_FEATURE_IPCALC_LONG_OPTIONS( \ |
IF_FEATURE_IPCALC_LONG_OPTIONS( \ |
2142 |
"\n -b,--broadcast Display calculated broadcast address" \ |
"\n -b,--broadcast Display calculated broadcast address" \ |
2143 |
"\n -n,--network Display calculated network address" \ |
"\n -n,--network Display calculated network address" \ |
2144 |
"\n -m,--netmask Display default netmask for IP" \ |
"\n -m,--netmask Display default netmask for IP" \ |
2145 |
USE_FEATURE_IPCALC_FANCY( \ |
IF_FEATURE_IPCALC_FANCY( \ |
2146 |
"\n -p,--prefix Display the prefix for IP/NETMASK" \ |
"\n -p,--prefix Display the prefix for IP/NETMASK" \ |
2147 |
"\n -h,--hostname Display first resolved host name" \ |
"\n -h,--hostname Display first resolved host name" \ |
2148 |
"\n -s,--silent Don't ever display error messages" \ |
"\n -s,--silent Don't ever display error messages" \ |
2149 |
) \ |
) \ |
2150 |
) \ |
) \ |
2151 |
SKIP_FEATURE_IPCALC_LONG_OPTIONS( \ |
IF_NOT_FEATURE_IPCALC_LONG_OPTIONS( \ |
2152 |
"\n -b Display calculated broadcast address" \ |
"\n -b Display calculated broadcast address" \ |
2153 |
"\n -n Display calculated network address" \ |
"\n -n Display calculated network address" \ |
2154 |
"\n -m Display default netmask for IP" \ |
"\n -m Display default netmask for IP" \ |
2155 |
USE_FEATURE_IPCALC_FANCY( \ |
IF_FEATURE_IPCALC_FANCY( \ |
2156 |
"\n -p Display the prefix for IP/NETMASK" \ |
"\n -p Display the prefix for IP/NETMASK" \ |
2157 |
"\n -h Display first resolved host name" \ |
"\n -h Display first resolved host name" \ |
2158 |
"\n -s Don't ever display error messages" \ |
"\n -s Don't ever display error messages" \ |
2230 |
"[-a|k|s|u] [-C TTY]" |
"[-a|k|s|u] [-C TTY]" |
2231 |
#define kbd_mode_full_usage "\n\n" \ |
#define kbd_mode_full_usage "\n\n" \ |
2232 |
"Report or set the keyboard mode\n" \ |
"Report or set the keyboard mode\n" \ |
2233 |
"\nOptions set mode:" \ |
"\nOptions:" \ |
2234 |
"\n -a Default (ASCII)" \ |
"\n -a Default (ASCII)" \ |
2235 |
"\n -k Medium-raw (keyboard)" \ |
"\n -k Medium-raw (keyboard)" \ |
2236 |
"\n -s Raw (scancode)" \ |
"\n -s Raw (scancode)" \ |
2240 |
#define kill_trivial_usage \ |
#define kill_trivial_usage \ |
2241 |
"[-l] [-SIG] PID..." |
"[-l] [-SIG] PID..." |
2242 |
#define kill_full_usage "\n\n" \ |
#define kill_full_usage "\n\n" \ |
2243 |
"Send a signal (default is TERM) to given PIDs\n" \ |
"Send a signal (default: TERM) to given PIDs\n" \ |
2244 |
"\nOptions:" \ |
"\nOptions:" \ |
2245 |
"\n -l List all signal names and numbers" \ |
"\n -l List all signal names and numbers" \ |
2246 |
/* "\n -s SIG Yet another way of specifying SIG" */ \ |
/* "\n -s SIG Yet another way of specifying SIG" */ \ |
2256 |
"$ kill 252\n" |
"$ kill 252\n" |
2257 |
|
|
2258 |
#define killall_trivial_usage \ |
#define killall_trivial_usage \ |
2259 |
"[-l] [-q] [-SIG] process-name..." |
"[-l] [-q] [-SIG] PROCESS_NAME..." |
2260 |
#define killall_full_usage "\n\n" \ |
#define killall_full_usage "\n\n" \ |
2261 |
"Send a signal (default is TERM) to given processes\n" \ |
"Send a signal (default: TERM) to given processes\n" \ |
2262 |
"\nOptions:" \ |
"\nOptions:" \ |
2263 |
"\n -l List all signal names and numbers" \ |
"\n -l List all signal names and numbers" \ |
2264 |
/* "\n -s SIG Yet another way of specifying SIG" */ \ |
/* "\n -s SIG Yet another way of specifying SIG" */ \ |
2265 |
"\n -q Do not complain if no processes were killed" \ |
"\n -q Don't complain if no processes were killed" \ |
2266 |
|
|
2267 |
#define killall_example_usage \ |
#define killall_example_usage \ |
2268 |
"$ killall apache\n" |
"$ killall apache\n" |
2269 |
|
|
2270 |
#define killall5_trivial_usage \ |
#define killall5_trivial_usage \ |
2271 |
"[-l] [-SIG]" |
"[-l] [-SIG] [-o PID]..." |
2272 |
#define killall5_full_usage "\n\n" \ |
#define killall5_full_usage "\n\n" \ |
2273 |
"Send a signal (default is TERM) to all processes outside current session\n" \ |
"Send a signal (default: TERM) to all processes outside current session\n" \ |
2274 |
"\nOptions:" \ |
"\nOptions:" \ |
2275 |
"\n -l List all signal names and numbers" \ |
"\n -l List all signal names and numbers" \ |
2276 |
|
"\n -o PID Don't signal this PID" \ |
2277 |
/* "\n -s SIG Yet another way of specifying SIG" */ \ |
/* "\n -s SIG Yet another way of specifying SIG" */ \ |
2278 |
|
|
2279 |
#define klogd_trivial_usage \ |
#define klogd_trivial_usage \ |
2294 |
"5\n" |
"5\n" |
2295 |
|
|
2296 |
#define less_trivial_usage \ |
#define less_trivial_usage \ |
2297 |
"[-EMNmh~I?] [FILE...]" |
"[-EMNmh~I?] [FILE]..." |
2298 |
#define less_full_usage "\n\n" \ |
#define less_full_usage "\n\n" \ |
2299 |
"View a file or list of files. The position within files can be\n" \ |
"View FILE (or stdin) one screenful at a time\n" \ |
|
"changed, and files can be manipulated in various ways.\n" \ |
|
2300 |
"\nOptions:" \ |
"\nOptions:" \ |
2301 |
"\n -E Quit once the end of a file is reached" \ |
"\n -E Quit once the end of a file is reached" \ |
2302 |
"\n -M,-m Display a status line containing the line numbers" \ |
"\n -M,-m Display status line with line numbers" \ |
2303 |
"\n and percentage through the file" \ |
"\n and percentage through the file" \ |
2304 |
"\n -N Prefix line numbers to each line" \ |
"\n -N Prefix line number to each line" \ |
2305 |
"\n -I Ignore case in all searches" \ |
"\n -I Ignore case in all searches" \ |
2306 |
"\n -~ Suppress ~s displayed past the end of the file" \ |
"\n -~ Suppress ~s displayed past the end of the file" \ |
2307 |
|
|
2314 |
#define linuxrc_full_usage "" |
#define linuxrc_full_usage "" |
2315 |
|
|
2316 |
#define setarch_trivial_usage \ |
#define setarch_trivial_usage \ |
2317 |
"personality program [args...]" |
"personality PROG ARGS" |
2318 |
#define setarch_full_usage "\n\n" \ |
#define setarch_full_usage "\n\n" \ |
2319 |
"Personality may be:\n" \ |
"Personality may be:\n" \ |
2320 |
" linux32 Set 32bit uname emulation\n" \ |
" linux32 Set 32bit uname emulation\n" \ |
2321 |
" linux64 Set 64bit uname emulation" \ |
" linux64 Set 64bit uname emulation" \ |
2322 |
|
|
2323 |
#define ln_trivial_usage \ |
#define ln_trivial_usage \ |
2324 |
"[OPTION] TARGET... LINK_NAME|DIRECTORY" |
"[OPTIONS] TARGET... LINK|DIR" |
2325 |
#define ln_full_usage "\n\n" \ |
#define ln_full_usage "\n\n" \ |
2326 |
"Create a link named LINK_NAME or DIRECTORY to the specified TARGET.\n" \ |
"Create a link LINK or DIR/TARGET to the specified TARGET(s)\n" \ |
|
"Use '--' to indicate that all following arguments are non-options.\n" \ |
|
2327 |
"\nOptions:" \ |
"\nOptions:" \ |
2328 |
"\n -s Make symlinks instead of hardlinks" \ |
"\n -s Make symlinks instead of hardlinks" \ |
2329 |
"\n -f Remove existing destination files" \ |
"\n -f Remove existing destinations" \ |
2330 |
"\n -n Don't dereference symlinks - treat like normal file" \ |
"\n -n Don't dereference symlinks - treat like normal file" \ |
2331 |
"\n -b Make a backup of the target (if exists) before link operation" \ |
"\n -b Make a backup of the target (if exists) before link operation" \ |
2332 |
"\n -S suf Use suffix instead of ~ when making backup files" \ |
"\n -S suf Use suffix instead of ~ when making backup files" \ |
2342 |
#define loadfont_trivial_usage \ |
#define loadfont_trivial_usage \ |
2343 |
"< font" |
"< font" |
2344 |
#define loadfont_full_usage "\n\n" \ |
#define loadfont_full_usage "\n\n" \ |
2345 |
"Load a console font from standard input" \ |
"Load a console font from stdin" \ |
2346 |
/* "\n -C TTY Affect TTY instead of /dev/tty" */ \ |
/* "\n -C TTY Affect TTY instead of /dev/tty" */ \ |
2347 |
|
|
2348 |
#define loadfont_example_usage \ |
#define loadfont_example_usage \ |
2351 |
#define loadkmap_trivial_usage \ |
#define loadkmap_trivial_usage \ |
2352 |
"< keymap" |
"< keymap" |
2353 |
#define loadkmap_full_usage "\n\n" \ |
#define loadkmap_full_usage "\n\n" \ |
2354 |
"Load a binary keyboard translation table from standard input\n" \ |
"Load a binary keyboard translation table from stdin\n" \ |
2355 |
/* "\n -C TTY Affect TTY instead of /dev/tty" */ \ |
/* "\n -C TTY Affect TTY instead of /dev/tty" */ \ |
2356 |
|
|
2357 |
#define loadkmap_example_usage \ |
#define loadkmap_example_usage \ |
2358 |
"$ loadkmap < /etc/i18n/lang-keymap\n" |
"$ loadkmap < /etc/i18n/lang-keymap\n" |
2359 |
|
|
2360 |
#define logger_trivial_usage \ |
#define logger_trivial_usage \ |
2361 |
"[OPTION]... [MESSAGE]" |
"[OPTIONS] [MESSAGE]" |
2362 |
#define logger_full_usage "\n\n" \ |
#define logger_full_usage "\n\n" \ |
2363 |
"Write MESSAGE to the system log. If MESSAGE is omitted, log stdin.\n" \ |
"Write MESSAGE (or stdin) to syslog\n" \ |
2364 |
"\nOptions:" \ |
"\nOptions:" \ |
2365 |
"\n -s Log to stderr as well as the system log" \ |
"\n -s Log to stderr as well as the system log" \ |
2366 |
"\n -t TAG Log using the specified tag (defaults to user name)" \ |
"\n -t TAG Log using the specified tag (defaults to user name)" \ |
2374 |
#define login_full_usage "\n\n" \ |
#define login_full_usage "\n\n" \ |
2375 |
"Begin a new session on the system\n" \ |
"Begin a new session on the system\n" \ |
2376 |
"\nOptions:" \ |
"\nOptions:" \ |
2377 |
"\n -f Do not authenticate (user already authenticated)" \ |
"\n -f Don't authenticate (user already authenticated)" \ |
2378 |
"\n -h Name of the remote host" \ |
"\n -h Name of the remote host" \ |
2379 |
"\n -p Preserve environment" \ |
"\n -p Preserve environment" \ |
2380 |
|
|
2387 |
"root\n" |
"root\n" |
2388 |
|
|
2389 |
#define logread_trivial_usage \ |
#define logread_trivial_usage \ |
2390 |
"[OPTION]..." |
"[OPTIONS]" |
2391 |
#define logread_full_usage "\n\n" \ |
#define logread_full_usage "\n\n" \ |
2392 |
"Show messages in syslogd's circular buffer\n" \ |
"Show messages in syslogd's circular buffer\n" \ |
2393 |
"\nOptions:" \ |
"\nOptions:" \ |
2412 |
"losetup -f will show the first loop free loop device\n\n" |
"losetup -f will show the first loop free loop device\n\n" |
2413 |
|
|
2414 |
#define lpd_trivial_usage \ |
#define lpd_trivial_usage \ |
2415 |
"SPOOLDIR [HELPER [ARGS...]]" |
"SPOOLDIR [HELPER [ARGS]]" |
2416 |
#define lpd_full_usage "\n\n" \ |
#define lpd_full_usage "\n\n" \ |
2417 |
"SPOOLDIR must contain (symlinks to) device nodes or directories" \ |
"SPOOLDIR must contain (symlinks to) device nodes or directories" \ |
2418 |
"\nwith names matching print queue names. In the first case, jobs are" \ |
"\nwith names matching print queue names. In the first case, jobs are" \ |
2423 |
"\n tcpsvd -E 0 515 softlimit -m 999999 lpd /var/spool ./print" \ |
"\n tcpsvd -E 0 515 softlimit -m 999999 lpd /var/spool ./print" \ |
2424 |
|
|
2425 |
#define lpq_trivial_usage \ |
#define lpq_trivial_usage \ |
2426 |
"[-P queue[@host[:port]]] [-U USERNAME] [-d JOBID...] [-fs]" |
"[-P queue[@host[:port]]] [-U USERNAME] [-d JOBID]... [-fs]" |
2427 |
#define lpq_full_usage "\n\n" \ |
#define lpq_full_usage "\n\n" \ |
2428 |
"Options:" \ |
"Options:" \ |
2429 |
"\n -P lp service to connect to (else uses $PRINTER)" \ |
"\n -P lp service to connect to (else uses $PRINTER)" \ |
2432 |
"\n -s Short display" \ |
"\n -s Short display" \ |
2433 |
|
|
2434 |
#define lpr_trivial_usage \ |
#define lpr_trivial_usage \ |
2435 |
"-P queue[@host[:port]] -U USERNAME -J TITLE -Vmh [FILE...]" |
"-P queue[@host[:port]] -U USERNAME -J TITLE -Vmh [FILE]..." |
2436 |
/* -C CLASS exists too, not shown. |
/* -C CLASS exists too, not shown. |
2437 |
* CLASS is supposed to be printed on banner page, if one is requested */ |
* CLASS is supposed to be printed on banner page, if one is requested */ |
2438 |
#define lpr_full_usage "\n\n" \ |
#define lpr_full_usage "\n\n" \ |
2443 |
"\n -V Verbose" \ |
"\n -V Verbose" \ |
2444 |
|
|
2445 |
#define ls_trivial_usage \ |
#define ls_trivial_usage \ |
2446 |
"[-1Aa" USE_FEATURE_LS_TIMESTAMPS("c") "Cd" \ |
"[-1Aa" IF_FEATURE_LS_TIMESTAMPS("c") "Cd" \ |
2447 |
USE_FEATURE_LS_TIMESTAMPS("e") USE_FEATURE_LS_FILETYPES("F") "iln" \ |
IF_FEATURE_LS_TIMESTAMPS("e") IF_FEATURE_LS_FILETYPES("F") "iln" \ |
2448 |
USE_FEATURE_LS_FILETYPES("p") USE_FEATURE_LS_FOLLOWLINKS("L") \ |
IF_FEATURE_LS_FILETYPES("p") IF_FEATURE_LS_FOLLOWLINKS("L") \ |
2449 |
USE_FEATURE_LS_RECURSIVE("R") USE_FEATURE_LS_SORTFILES("rS") "s" \ |
IF_FEATURE_LS_RECURSIVE("R") IF_FEATURE_LS_SORTFILES("rS") "s" \ |
2450 |
USE_FEATURE_AUTOWIDTH("T") USE_FEATURE_LS_TIMESTAMPS("tu") \ |
IF_FEATURE_AUTOWIDTH("T") IF_FEATURE_LS_TIMESTAMPS("tu") \ |
2451 |
USE_FEATURE_LS_SORTFILES("v") USE_FEATURE_AUTOWIDTH("w") "x" \ |
IF_FEATURE_LS_SORTFILES("v") IF_FEATURE_AUTOWIDTH("w") "x" \ |
2452 |
USE_FEATURE_LS_SORTFILES("X") USE_FEATURE_HUMAN_READABLE("h") "k" \ |
IF_FEATURE_LS_SORTFILES("X") IF_FEATURE_HUMAN_READABLE("h") "k" \ |
2453 |
USE_SELINUX("K") "] [filenames...]" |
IF_SELINUX("K") "] [FILE]..." |
2454 |
#define ls_full_usage "\n\n" \ |
#define ls_full_usage "\n\n" \ |
2455 |
"List directory contents\n" \ |
"List directory contents\n" \ |
2456 |
"\nOptions:" \ |
"\nOptions:" \ |
2458 |
"\n -A Don't list . and .." \ |
"\n -A Don't list . and .." \ |
2459 |
"\n -a Don't hide entries starting with ." \ |
"\n -a Don't hide entries starting with ." \ |
2460 |
"\n -C List by columns" \ |
"\n -C List by columns" \ |
2461 |
USE_FEATURE_LS_TIMESTAMPS( \ |
IF_FEATURE_LS_TIMESTAMPS( \ |
2462 |
"\n -c With -l: sort by ctime") \ |
"\n -c With -l: sort by ctime") \ |
2463 |
USE_FEATURE_LS_COLOR( \ |
IF_FEATURE_LS_COLOR( \ |
2464 |
"\n --color[={always,never,auto}] Control coloring") \ |
"\n --color[={always,never,auto}] Control coloring") \ |
2465 |
"\n -d List directory entries instead of contents" \ |
"\n -d List directory entries instead of contents" \ |
2466 |
USE_FEATURE_LS_TIMESTAMPS( \ |
IF_FEATURE_LS_TIMESTAMPS( \ |
2467 |
"\n -e List full date and time") \ |
"\n -e List full date and time") \ |
2468 |
USE_FEATURE_LS_FILETYPES( \ |
IF_FEATURE_LS_FILETYPES( \ |
2469 |
"\n -F Append indicator (one of */=@|) to entries") \ |
"\n -F Append indicator (one of */=@|) to entries") \ |
2470 |
"\n -i List inode numbers" \ |
"\n -i List inode numbers" \ |
2471 |
"\n -l Long listing format" \ |
"\n -l Long listing format" \ |
2472 |
"\n -n List numeric UIDs and GIDs instead of names" \ |
"\n -n List numeric UIDs and GIDs instead of names" \ |
2473 |
USE_FEATURE_LS_FILETYPES( \ |
IF_FEATURE_LS_FILETYPES( \ |
2474 |
"\n -p Append indicator (one of /=@|) to entries") \ |
"\n -p Append indicator (one of /=@|) to entries") \ |
2475 |
USE_FEATURE_LS_FOLLOWLINKS( \ |
IF_FEATURE_LS_FOLLOWLINKS( \ |
2476 |
"\n -L List entries pointed to by symlinks") \ |
"\n -L List entries pointed to by symlinks") \ |
2477 |
USE_FEATURE_LS_RECURSIVE( \ |
IF_FEATURE_LS_RECURSIVE( \ |
2478 |
"\n -R List subdirectories recursively") \ |
"\n -R Recurse") \ |
2479 |
USE_FEATURE_LS_SORTFILES( \ |
IF_FEATURE_LS_SORTFILES( \ |
2480 |
"\n -r Sort in reverse order") \ |
"\n -r Sort in reverse order") \ |
2481 |
USE_FEATURE_LS_SORTFILES( \ |
IF_FEATURE_LS_SORTFILES( \ |
2482 |
"\n -S Sort by file size") \ |
"\n -S Sort by file size") \ |
2483 |
"\n -s List the size of each file, in blocks" \ |
"\n -s List the size of each file, in blocks" \ |
2484 |
USE_FEATURE_AUTOWIDTH( \ |
IF_FEATURE_AUTOWIDTH( \ |
2485 |
"\n -T NUM Assume tabstop every NUM columns") \ |
"\n -T N Assume tabstop every N columns") \ |
2486 |
USE_FEATURE_LS_TIMESTAMPS( \ |
IF_FEATURE_LS_TIMESTAMPS( \ |
2487 |
"\n -t With -l: sort by modification time") \ |
"\n -t With -l: sort by modification time") \ |
2488 |
USE_FEATURE_LS_TIMESTAMPS( \ |
IF_FEATURE_LS_TIMESTAMPS( \ |
2489 |
"\n -u With -l: sort by access time") \ |
"\n -u With -l: sort by access time") \ |
2490 |
USE_FEATURE_LS_SORTFILES( \ |
IF_FEATURE_LS_SORTFILES( \ |
2491 |
"\n -v Sort by version") \ |
"\n -v Sort by version") \ |
2492 |
USE_FEATURE_AUTOWIDTH( \ |
IF_FEATURE_AUTOWIDTH( \ |
2493 |
"\n -w NUM Assume the terminal is NUM columns wide") \ |
"\n -w N Assume the terminal is N columns wide") \ |
2494 |
"\n -x List by lines" \ |
"\n -x List by lines" \ |
2495 |
USE_FEATURE_LS_SORTFILES( \ |
IF_FEATURE_LS_SORTFILES( \ |
2496 |
"\n -X Sort by extension") \ |
"\n -X Sort by extension") \ |
2497 |
USE_FEATURE_HUMAN_READABLE( \ |
IF_FEATURE_HUMAN_READABLE( \ |
2498 |
"\n -h List sizes in human readable format (1K 243M 2G)") \ |
"\n -h List sizes in human readable format (1K 243M 2G)") \ |
2499 |
USE_SELINUX( \ |
IF_SELINUX( \ |
2500 |
"\n -k List security context") \ |
"\n -k List security context") \ |
2501 |
USE_SELINUX( \ |
IF_SELINUX( \ |
2502 |
"\n -K List security context in long format") \ |
"\n -K List security context in long format") \ |
2503 |
USE_SELINUX( \ |
IF_SELINUX( \ |
2504 |
"\n -Z List security context and permission") \ |
"\n -Z List security context and permission") \ |
2505 |
|
|
2506 |
#define lsattr_trivial_usage \ |
#define lsattr_trivial_usage \ |
2507 |
"[-Radlv] [files...]" |
"[-Radlv] [FILE]..." |
2508 |
#define lsattr_full_usage "\n\n" \ |
#define lsattr_full_usage "\n\n" \ |
2509 |
"List file attributes on an ext2 fs\n" \ |
"List file attributes on an ext2 fs\n" \ |
2510 |
"\nOptions:" \ |
"\nOptions:" \ |
2511 |
"\n -R Recursively list subdirectories" \ |
"\n -R Recurse" \ |
2512 |
"\n -a Do not hide entries starting with ." \ |
"\n -a Don't hide entries starting with ." \ |
2513 |
"\n -d List directory entries instead of contents" \ |
"\n -d List directory entries instead of contents" \ |
2514 |
"\n -l List long flag names" \ |
"\n -l List long flag names" \ |
2515 |
"\n -v List the file's version/generation number" \ |
"\n -v List the file's version/generation number" \ |
2519 |
#define lsmod_full_usage "\n\n" \ |
#define lsmod_full_usage "\n\n" \ |
2520 |
"List the currently loaded kernel modules" |
"List the currently loaded kernel modules" |
2521 |
|
|
2522 |
|
#define lspci_trivial_usage \ |
2523 |
|
"[-mk]" |
2524 |
|
#define lspci_full_usage "\n\n" \ |
2525 |
|
"List all PCI devices" \ |
2526 |
|
"\n" \ |
2527 |
|
"\n -m Parseable output" \ |
2528 |
|
"\n -k Show driver" \ |
2529 |
|
|
2530 |
|
#define lsusb_trivial_usage NOUSAGE_STR |
2531 |
|
#define lsusb_full_usage "" |
2532 |
|
|
2533 |
#if ENABLE_FEATURE_MAKEDEVS_LEAF |
#if ENABLE_FEATURE_MAKEDEVS_LEAF |
2534 |
#define makedevs_trivial_usage \ |
#define makedevs_trivial_usage \ |
2535 |
"NAME TYPE MAJOR MINOR FIRST LAST [s]" |
"NAME TYPE MAJOR MINOR FIRST LAST [s]" |
2589 |
#endif |
#endif |
2590 |
|
|
2591 |
#define makemime_trivial_usage \ |
#define makemime_trivial_usage \ |
2592 |
"[OPTION]... [FILE]..." |
"[OPTIONS] [FILE]..." |
2593 |
#define makemime_full_usage "\n\n" \ |
#define makemime_full_usage "\n\n" \ |
2594 |
"Create MIME-encoded message\n" \ |
"Create multipart MIME-encoded message from FILEs\n" \ |
2595 |
|
/* "Transfer encoding is base64, disposition is inline (not attachment)\n" */ \ |
2596 |
"\nOptions:" \ |
"\nOptions:" \ |
2597 |
"\n -C Charset" \ |
"\n -o FILE Output. Default: stdout" \ |
2598 |
"\n -e Tranfer encoding. Ignored. base64 is assumed" \ |
"\n -a HDR Add header. Examples:" \ |
2599 |
|
"\n \"From: user@host.org\", \"Date: `date -R`\"" \ |
2600 |
|
"\n -c CT Content type. Default: text/plain" \ |
2601 |
|
"\n -C CS Charset. Default: " CONFIG_FEATURE_MIME_CHARSET \ |
2602 |
|
/* "\n -e ENC Transfer encoding. Ignored. base64 is assumed" */ \ |
2603 |
"\n" \ |
"\n" \ |
2604 |
"\nOther options are silently ignored." \ |
"\nOther options are silently ignored" \ |
2605 |
|
|
2606 |
#define man_trivial_usage \ |
#define man_trivial_usage \ |
2607 |
"[OPTION]... [MANPAGE]..." |
"[OPTIONS] [MANPAGE]..." |
2608 |
#define man_full_usage "\n\n" \ |
#define man_full_usage "\n\n" \ |
2609 |
"Format and display manual page\n" \ |
"Format and display manual page\n" \ |
2610 |
"\nOptions:" \ |
"\nOptions:" \ |
2614 |
#define matchpathcon_trivial_usage \ |
#define matchpathcon_trivial_usage \ |
2615 |
"[-n] [-N] [-f file_contexts_file] [-p prefix] [-V]" |
"[-n] [-N] [-f file_contexts_file] [-p prefix] [-V]" |
2616 |
#define matchpathcon_full_usage "\n\n" \ |
#define matchpathcon_full_usage "\n\n" \ |
2617 |
" -n Do not display path" \ |
" -n Don't display path" \ |
2618 |
"\n -N Do not use translations" \ |
"\n -N Don't use translations" \ |
2619 |
"\n -f Use alternate file_context file" \ |
"\n -f Use alternate file_context file" \ |
2620 |
"\n -p Use prefix to speed translations" \ |
"\n -p Use prefix to speed translations" \ |
2621 |
"\n -V Verify file context on disk matches defaults" \ |
"\n -V Verify file context on disk matches defaults" \ |
2622 |
|
|
2623 |
#define md5sum_trivial_usage \ |
#define md5sum_trivial_usage \ |
2624 |
"[OPTION] [FILEs...]" \ |
"[OPTIONS] [FILE]..." \ |
2625 |
USE_FEATURE_MD5_SHA1_SUM_CHECK("\n or: md5sum [OPTION] -c [FILE]") |
IF_FEATURE_MD5_SHA1_SUM_CHECK("\n or: md5sum [OPTIONS] -c [FILE]") |
2626 |
#define md5sum_full_usage "\n\n" \ |
#define md5sum_full_usage "\n\n" \ |
2627 |
"Print" USE_FEATURE_MD5_SHA1_SUM_CHECK(" or check") " MD5 checksums" \ |
"Print" IF_FEATURE_MD5_SHA1_SUM_CHECK(" or check") " MD5 checksums" \ |
2628 |
USE_FEATURE_MD5_SHA1_SUM_CHECK( "\n" \ |
IF_FEATURE_MD5_SHA1_SUM_CHECK( "\n" \ |
2629 |
"\nOptions:" \ |
"\nOptions:" \ |
2630 |
"\n -c Check MD5 sums against given list" \ |
"\n -c Check sums against given list" \ |
2631 |
"\n -s Don't output anything, status code shows success" \ |
"\n -s Don't output anything, status code shows success" \ |
2632 |
"\n -w Warn about improperly formatted MD5 checksum lines") \ |
"\n -w Warn about improperly formatted checksum lines" \ |
2633 |
|
) |
2634 |
|
|
2635 |
#define md5sum_example_usage \ |
#define md5sum_example_usage \ |
2636 |
"$ md5sum < busybox\n" \ |
"$ md5sum < busybox\n" \ |
2642 |
"busybox: OK\n" \ |
"busybox: OK\n" \ |
2643 |
"^D\n" |
"^D\n" |
2644 |
|
|
2645 |
|
#define sha1sum_trivial_usage \ |
2646 |
|
"[OPTIONS] [FILE]..." \ |
2647 |
|
IF_FEATURE_MD5_SHA1_SUM_CHECK("\n or: sha1sum [OPTIONS] -c [FILE]") |
2648 |
|
#define sha1sum_full_usage "\n\n" \ |
2649 |
|
"Print" IF_FEATURE_MD5_SHA1_SUM_CHECK(" or check") " SHA1 checksums" \ |
2650 |
|
IF_FEATURE_MD5_SHA1_SUM_CHECK( "\n" \ |
2651 |
|
"\nOptions:" \ |
2652 |
|
"\n -c Check sums against given list" \ |
2653 |
|
"\n -s Don't output anything, status code shows success" \ |
2654 |
|
"\n -w Warn about improperly formatted checksum lines" \ |
2655 |
|
) |
2656 |
|
|
2657 |
|
#define sha256sum_trivial_usage \ |
2658 |
|
"[OPTIONS] [FILE]..." \ |
2659 |
|
IF_FEATURE_MD5_SHA1_SUM_CHECK("\n or: sha256sum [OPTIONS] -c [FILE]") |
2660 |
|
#define sha256sum_full_usage "\n\n" \ |
2661 |
|
"Print" IF_FEATURE_MD5_SHA1_SUM_CHECK(" or check") " SHA256 checksums" \ |
2662 |
|
IF_FEATURE_MD5_SHA1_SUM_CHECK( "\n" \ |
2663 |
|
"\nOptions:" \ |
2664 |
|
"\n -c Check sums against given list" \ |
2665 |
|
"\n -s Don't output anything, status code shows success" \ |
2666 |
|
"\n -w Warn about improperly formatted checksum lines" \ |
2667 |
|
) |
2668 |
|
|
2669 |
|
#define sha512sum_trivial_usage \ |
2670 |
|
"[OPTIONS] [FILE]..." \ |
2671 |
|
IF_FEATURE_MD5_SHA1_SUM_CHECK("\n or: sha512sum [OPTIONS] -c [FILE]") |
2672 |
|
#define sha512sum_full_usage "\n\n" \ |
2673 |
|
"Print" IF_FEATURE_MD5_SHA1_SUM_CHECK(" or check") " SHA512 checksums" \ |
2674 |
|
IF_FEATURE_MD5_SHA1_SUM_CHECK( "\n" \ |
2675 |
|
"\nOptions:" \ |
2676 |
|
"\n -c Check sums against given list" \ |
2677 |
|
"\n -s Don't output anything, status code shows success" \ |
2678 |
|
"\n -w Warn about improperly formatted checksum lines" \ |
2679 |
|
) |
2680 |
|
|
2681 |
#define mdev_trivial_usage \ |
#define mdev_trivial_usage \ |
2682 |
"[-s]" |
"[-s]" |
2683 |
#define mdev_full_usage "\n\n" \ |
#define mdev_full_usage "\n\n" \ |
2684 |
" -s Scan /sys and populate /dev during system boot\n" \ |
" -s Scan /sys and populate /dev during system boot\n" \ |
2685 |
"\n" \ |
"\n" \ |
2686 |
"Called with no options (via hotplug) it uses environment variables\n" \ |
"It can be run by kernel as a hotplug helper. To activate it:\n" \ |
2687 |
"to determine which device to add/remove." |
" echo /sbin/mdev > /proc/sys/kernel/hotplug\n" \ |
2688 |
|
IF_FEATURE_MDEV_CONF( \ |
2689 |
|
"It uses /etc/mdev.conf with lines\n" \ |
2690 |
|
"[-]DEVNAME UID:GID PERM" \ |
2691 |
|
IF_FEATURE_MDEV_RENAME(" [>|=PATH]") \ |
2692 |
|
IF_FEATURE_MDEV_EXEC(" [@|$|*PROG]") \ |
2693 |
|
) \ |
2694 |
|
|
2695 |
#define mdev_notes_usage "" \ |
#define mdev_notes_usage "" \ |
2696 |
USE_FEATURE_MDEV_CONFIG( \ |
IF_FEATURE_MDEV_CONFIG( \ |
2697 |
"The mdev config file contains lines that look like:\n" \ |
"The mdev config file contains lines that look like:\n" \ |
2698 |
" hd[a-z][0-9]* 0:3 660\n\n" \ |
" hd[a-z][0-9]* 0:3 660\n\n" \ |
2699 |
"That's device name (with regex match), uid:gid, and permissions.\n\n" \ |
"That's device name (with regex match), uid:gid, and permissions.\n\n" \ |
2700 |
USE_FEATURE_MDEV_EXEC( \ |
IF_FEATURE_MDEV_EXEC( \ |
2701 |
"Optionally, that can be followed (on the same line) by a special character\n" \ |
"Optionally, that can be followed (on the same line) by a special character\n" \ |
2702 |
"and a command line to run after creating/before deleting the corresponding\n" \ |
"and a command line to run after creating/before deleting the corresponding\n" \ |
2703 |
"device(s). The environment variable $MDEV indicates the active device node\n" \ |
"device(s). The environment variable $MDEV indicates the active device node\n" \ |
2731 |
"\n -X Disable special meaning of NUL and Ctrl-X from stdin" \ |
"\n -X Disable special meaning of NUL and Ctrl-X from stdin" \ |
2732 |
|
|
2733 |
#define mkdir_trivial_usage \ |
#define mkdir_trivial_usage \ |
2734 |
"[OPTION] DIRECTORY..." |
"[OPTIONS] DIRECTORY..." |
2735 |
#define mkdir_full_usage "\n\n" \ |
#define mkdir_full_usage "\n\n" \ |
2736 |
"Create DIRECTORY\n" \ |
"Create DIRECTORY\n" \ |
2737 |
"\nOptions:" \ |
"\nOptions:" \ |
2738 |
"\n -m Set permission mode (as in chmod), not rwxrwxrwx - umask" \ |
"\n -m Mode" \ |
2739 |
"\n -p No error if existing, make parent directories as needed" \ |
"\n -p No error if exists; make parent directories as needed" \ |
2740 |
USE_SELINUX( \ |
IF_SELINUX( \ |
2741 |
"\n -Z Set security context" \ |
"\n -Z Set security context" \ |
2742 |
) |
) |
2743 |
|
|
2749 |
"/tmp/foo/bar/baz: No such file or directory\n" \ |
"/tmp/foo/bar/baz: No such file or directory\n" \ |
2750 |
"$ mkdir -p /tmp/foo/bar/baz\n" |
"$ mkdir -p /tmp/foo/bar/baz\n" |
2751 |
|
|
|
#define mke2fs_trivial_usage \ |
|
|
"[-c|-l filename] [-b block-size] [-f fragment-size] [-g blocks-per-group] " \ |
|
|
"[-i bytes-per-inode] [-j] [-J journal-options] [-N number-of-inodes] [-n] " \ |
|
|
"[-m reserved-blocks-percentage] [-o creator-os] [-O feature[,...]] [-q] " \ |
|
|
"[r fs-revision-level] [-E extended-options] [-v] [-F] [-L volume-label] " \ |
|
|
"[-M last-mounted-directory] [-S] [-T filesystem-type] " \ |
|
|
"device [blocks-count]" |
|
|
#define mke2fs_full_usage "\n\n" \ |
|
|
" -b size Block size in bytes" \ |
|
|
"\n -c Check for bad blocks before creating" \ |
|
|
"\n -E opts Set extended options" \ |
|
|
"\n -f size Fragment size in bytes" \ |
|
|
"\n -F Force (ignore sanity checks)" \ |
|
|
"\n -g num Number of blocks in a block group" \ |
|
|
"\n -i ratio The bytes/inode ratio" \ |
|
|
"\n -j Create a journal (ext3)" \ |
|
|
"\n -J opts Set journal options (size/device)" \ |
|
|
"\n -l file Read bad blocks list from file" \ |
|
|
"\n -L lbl Set the volume label" \ |
|
|
"\n -m percent Percent of fs blocks to reserve for admin" \ |
|
|
"\n -M dir Set last mounted directory" \ |
|
|
"\n -n Do not actually create anything" \ |
|
|
"\n -N num Number of inodes to create" \ |
|
|
"\n -o os Set the 'creator os' field" \ |
|
|
"\n -O features Dir_index/filetype/has_journal/journal_dev/sparse_super" \ |
|
|
"\n -q Quiet" \ |
|
|
"\n -r rev Set filesystem revision" \ |
|
|
"\n -S Write superblock and group descriptors only" \ |
|
|
"\n -T fs-type Set usage type (news/largefile/largefile4)" \ |
|
|
"\n -v Verbose" \ |
|
|
|
|
2752 |
#define mkfifo_trivial_usage \ |
#define mkfifo_trivial_usage \ |
2753 |
"[OPTIONS] name" |
"[OPTIONS] name" |
2754 |
#define mkfifo_full_usage "\n\n" \ |
#define mkfifo_full_usage "\n\n" \ |
2755 |
"Create named pipe (identical to 'mknod name p')\n" \ |
"Create named pipe (identical to 'mknod name p')\n" \ |
2756 |
"\nOptions:" \ |
"\nOptions:" \ |
2757 |
"\n -m MODE Mode (default a=rw)" \ |
"\n -m MODE Mode (default a=rw)" \ |
2758 |
USE_SELINUX( \ |
IF_SELINUX( \ |
2759 |
"\n -Z Set security context" \ |
"\n -Z Set security context" \ |
2760 |
) |
) |
2761 |
|
|
2762 |
|
#define mkfs_ext2_trivial_usage \ |
2763 |
|
"[-Fn] " \ |
2764 |
|
/* "[-c|-l filename] " */ \ |
2765 |
|
"[-b BLK_SIZE] " \ |
2766 |
|
/* "[-f fragment-size] [-g blocks-per-group] " */ \ |
2767 |
|
"[-i INODE_RATIO] [-I INODE_SIZE] " \ |
2768 |
|
/* "[-j] [-J journal-options] [-N number-of-inodes] " */ \ |
2769 |
|
"[-m RESERVED_PERCENT] " \ |
2770 |
|
/* "[-o creator-os] [-O feature[,...]] [-q] " */ \ |
2771 |
|
/* "[r fs-revision-level] [-E extended-options] [-v] [-F] " */ \ |
2772 |
|
"[-L LABEL] " \ |
2773 |
|
/* "[-M last-mounted-directory] [-S] [-T filesystem-type] " */ \ |
2774 |
|
"BLOCKDEV [KBYTES]" |
2775 |
|
#define mkfs_ext2_full_usage "\n\n" \ |
2776 |
|
" -b BLK_SIZE Block size, bytes" \ |
2777 |
|
/* "\n -c Check device for bad blocks" */ \ |
2778 |
|
/* "\n -E opts Set extended options" */ \ |
2779 |
|
/* "\n -f size Fragment size in bytes" */ \ |
2780 |
|
"\n -F Force" \ |
2781 |
|
/* "\n -g N Number of blocks in a block group" */ \ |
2782 |
|
"\n -i RATIO Max number of files is filesystem_size / RATIO" \ |
2783 |
|
"\n -I BYTES Inode size (min 128)" \ |
2784 |
|
/* "\n -j Create a journal (ext3)" */ \ |
2785 |
|
/* "\n -J opts Set journal options (size/device)" */ \ |
2786 |
|
/* "\n -l file Read bad blocks list from file" */ \ |
2787 |
|
"\n -L LBL Volume label" \ |
2788 |
|
"\n -m PERCENT Percent of blocks to reserve for admin" \ |
2789 |
|
/* "\n -M dir Set last mounted directory" */ \ |
2790 |
|
"\n -n Dry run" \ |
2791 |
|
/* "\n -N N Number of inodes to create" */ \ |
2792 |
|
/* "\n -o os Set the 'creator os' field" */ \ |
2793 |
|
/* "\n -O features Dir_index/filetype/has_journal/journal_dev/sparse_super" */ \ |
2794 |
|
/* "\n -q Quiet" */ \ |
2795 |
|
/* "\n -r rev Set filesystem revision" */ \ |
2796 |
|
/* "\n -S Write superblock and group descriptors only" */ \ |
2797 |
|
/* "\n -T fs-type Set usage type (news/largefile/largefile4)" */ \ |
2798 |
|
/* "\n -v Verbose" */ \ |
2799 |
|
|
2800 |
#define mkfs_minix_trivial_usage \ |
#define mkfs_minix_trivial_usage \ |
2801 |
"[-c | -l filename] [-nXX] [-iXX] /dev/name [blocks]" |
"[-c | -l FILE] [-nXX] [-iXX] BLOCKDEV [KBYTES]" |
2802 |
#define mkfs_minix_full_usage "\n\n" \ |
#define mkfs_minix_full_usage "\n\n" \ |
2803 |
"Make a MINIX filesystem\n" \ |
"Make a MINIX filesystem\n" \ |
2804 |
"\nOptions:" \ |
"\nOptions:" \ |
2805 |
"\n -c Check device for bad blocks" \ |
"\n -c Check device for bad blocks" \ |
2806 |
"\n -n [14|30] Maximum length of filenames" \ |
"\n -n [14|30] Maximum length of filenames" \ |
2807 |
"\n -i INODES Number of inodes for the filesystem" \ |
"\n -i INODES Number of inodes for the filesystem" \ |
2808 |
"\n -l FILENAME Read bad blocks list from FILENAME" \ |
"\n -l FILE Read bad blocks list from FILE" \ |
2809 |
"\n -v Make version 2 filesystem" \ |
"\n -v Make version 2 filesystem" \ |
2810 |
|
|
2811 |
|
#define mkfs_reiser_trivial_usage \ |
2812 |
|
"[-f] [-l LABEL] BLOCKDEV [4K-BLOCKS]" |
2813 |
|
|
2814 |
|
#define mkfs_reiser_full_usage "\n\n" \ |
2815 |
|
"Make a ReiserFS V3 filesystem\n" \ |
2816 |
|
"\nOptions:" \ |
2817 |
|
"\n -f Force" \ |
2818 |
|
"\n -l LBL Volume label" \ |
2819 |
|
|
2820 |
|
#define mkfs_vfat_trivial_usage \ |
2821 |
|
"[-v] [-n LABEL] BLOCKDEV [KBYTES]" |
2822 |
|
/* Accepted but ignored: |
2823 |
|
"[-c] [-C] [-I] [-l bad-block-file] [-b backup-boot-sector] " |
2824 |
|
"[-m boot-msg-file] [-i volume-id] " |
2825 |
|
"[-s sectors-per-cluster] [-S logical-sector-size] [-f number-of-FATs] " |
2826 |
|
"[-h hidden-sectors] [-F fat-size] [-r root-dir-entries] [-R reserved-sectors] " |
2827 |
|
*/ |
2828 |
|
#define mkfs_vfat_full_usage "\n\n" \ |
2829 |
|
"Make a FAT32 filesystem\n" \ |
2830 |
|
"\nOptions:" \ |
2831 |
|
/* "\n -c Check device for bad blocks" */ \ |
2832 |
|
"\n -v Verbose" \ |
2833 |
|
/* "\n -I Allow to use entire disk device (e.g. /dev/hda)" */ \ |
2834 |
|
"\n -n LBL Volume label" \ |
2835 |
|
|
2836 |
#define mknod_trivial_usage \ |
#define mknod_trivial_usage \ |
2837 |
"[OPTIONS] NAME TYPE MAJOR MINOR" |
"[OPTIONS] NAME TYPE MAJOR MINOR" |
2838 |
#define mknod_full_usage "\n\n" \ |
#define mknod_full_usage "\n\n" \ |
2843 |
"\n b: Make a block device" \ |
"\n b: Make a block device" \ |
2844 |
"\n c or u: Make a character device" \ |
"\n c or u: Make a character device" \ |
2845 |
"\n p: Make a named pipe (MAJOR and MINOR are ignored)" \ |
"\n p: Make a named pipe (MAJOR and MINOR are ignored)" \ |
2846 |
USE_SELINUX( \ |
IF_SELINUX( \ |
2847 |
"\n -Z Set security context" \ |
"\n -Z Set security context" \ |
2848 |
) |
) |
2849 |
|
|
2852 |
"$ mknod -m 644 /tmp/pipe p\n" |
"$ mknod -m 644 /tmp/pipe p\n" |
2853 |
|
|
2854 |
#define mkswap_trivial_usage \ |
#define mkswap_trivial_usage \ |
2855 |
"DEVICE" |
"[OPTIONS] BLOCKDEV [KBYTES]" |
2856 |
#define mkswap_full_usage "\n\n" \ |
#define mkswap_full_usage "\n\n" \ |
2857 |
"Prepare block device to be used as swap partition" |
"Prepare BLOCKDEV to be used as swap partition\n" \ |
2858 |
#if 0 |
"\nOptions:" \ |
2859 |
"[-c] [-v0|-v1] DEVICE [BLOCKS]" |
"\n -L LBL Label" \ |
|
"\nOptions:" |
|
|
"\n -c Check for readability" |
|
|
"\n -v0 Make swap version 0 (max 128M)" |
|
|
"\n -v1 Make swap version 1 (default for kernels > 2.1.117)" |
|
|
"\n BLOCKS Number of blocks to use (default is entire partition)" |
|
|
#endif |
|
2860 |
|
|
2861 |
#define mktemp_trivial_usage \ |
#define mktemp_trivial_usage \ |
2862 |
"[-dt] [-p DIR] [TEMPLATE]" |
"[-dt] [-p DIR] [TEMPLATE]" |
2879 |
"-rw------- 1 andersen andersen 0 Apr 25 17:10 /tmp/temp.mWiLjM\n" |
"-rw------- 1 andersen andersen 0 Apr 25 17:10 /tmp/temp.mWiLjM\n" |
2880 |
|
|
2881 |
#define modprobe_trivial_usage \ |
#define modprobe_trivial_usage \ |
2882 |
"[-knqrsv] MODULE [symbol=value...]" |
IF_MODPROBE_SMALL("[-qfwrsv] MODULE [symbol=value]...") \ |
2883 |
|
IF_NOT_MODPROBE_SMALL("[-" \ |
2884 |
|
IF_FEATURE_2_4_MODULES("k")"nqrsv" \ |
2885 |
|
IF_FEATURE_MODPROBE_BLACKLIST("b")"] MODULE [symbol=value]...") |
2886 |
#define modprobe_full_usage "\n\n" \ |
#define modprobe_full_usage "\n\n" \ |
2887 |
"Options:" \ |
"Options:" \ |
2888 |
USE_FEATURE_2_4_MODULES( \ |
IF_MODPROBE_SMALL( \ |
2889 |
|
"\n -q Quiet" \ |
2890 |
|
"\n -f Force" \ |
2891 |
|
"\n -w Wait for unload" \ |
2892 |
|
"\n -r Remove module (stacks) or do autoclean" \ |
2893 |
|
"\n -s Report via syslog instead of stderr" \ |
2894 |
|
"\n -v Verbose" \ |
2895 |
|
) \ |
2896 |
|
IF_NOT_MODPROBE_SMALL( \ |
2897 |
|
IF_FEATURE_2_4_MODULES( \ |
2898 |
"\n -k Make module autoclean-able" \ |
"\n -k Make module autoclean-able" \ |
2899 |
) \ |
) \ |
2900 |
"\n -n Dry run" \ |
"\n -n Dry run" \ |
2902 |
"\n -r Remove module (stacks) or do autoclean" \ |
"\n -r Remove module (stacks) or do autoclean" \ |
2903 |
"\n -s Report via syslog instead of stderr" \ |
"\n -s Report via syslog instead of stderr" \ |
2904 |
"\n -v Verbose" \ |
"\n -v Verbose" \ |
2905 |
USE_FEATURE_MODPROBE_BLACKLIST( \ |
IF_FEATURE_MODPROBE_BLACKLIST( \ |
2906 |
"\n -b Apply blacklist to module names too" \ |
"\n -b Apply blacklist to module names too" \ |
2907 |
) |
) \ |
2908 |
|
) |
2909 |
|
|
2910 |
#define modprobe_notes_usage \ |
#define modprobe_notes_usage \ |
2911 |
"modprobe can (un)load a stack of modules, passing each module options (when\n" \ |
"modprobe can (un)load a stack of modules, passing each module options (when\n" \ |
2912 |
"loading). modprobe uses a configuration file to determine what option(s) to\n" \ |
"loading). modprobe uses a configuration file to determine what option(s) to\n" \ |
2913 |
"pass each module it loads.\n" \ |
"pass each module it loads.\n" \ |
2914 |
"\n" \ |
"\n" \ |
2915 |
"The configuration file is searched (in order) amongst:\n" \ |
"The configuration file is searched (in this order):\n" \ |
2916 |
"\n" \ |
"\n" \ |
2917 |
" /etc/modprobe.conf (2.6 only)\n" \ |
" /etc/modprobe.conf (2.6 only)\n" \ |
2918 |
" /etc/modules.conf\n" \ |
" /etc/modules.conf\n" \ |
2968 |
" from the command line\n" |
" from the command line\n" |
2969 |
|
|
2970 |
#define more_trivial_usage \ |
#define more_trivial_usage \ |
2971 |
"[FILE...]" |
"[FILE]..." |
2972 |
#define more_full_usage "\n\n" \ |
#define more_full_usage "\n\n" \ |
2973 |
"View FILE or standard input one screenful at a time" |
"View FILE (or stdin) one screenful at a time" |
2974 |
|
|
2975 |
#define more_example_usage \ |
#define more_example_usage \ |
2976 |
"$ dmesg | more\n" |
"$ dmesg | more\n" |
2977 |
|
|
2978 |
#define mount_trivial_usage \ |
#define mount_trivial_usage \ |
2979 |
"[flags] DEVICE NODE [-o options,more-options]" |
"[OPTIONS] [-o OPTS] DEVICE NODE" |
2980 |
#define mount_full_usage "\n\n" \ |
#define mount_full_usage "\n\n" \ |
2981 |
"Mount a filesystem. Filesystem autodetection requires /proc be mounted.\n" \ |
"Mount a filesystem. Filesystem autodetection requires /proc.\n" \ |
2982 |
"\nOptions:" \ |
"\nOptions:" \ |
2983 |
"\n -a Mount all filesystems in fstab" \ |
"\n -a Mount all filesystems in fstab" \ |
2984 |
USE_FEATURE_MOUNT_FAKE( \ |
IF_FEATURE_MOUNT_FAKE( \ |
2985 |
"\n -f "USE_FEATURE_MTAB_SUPPORT("Update /etc/mtab, but ")"don't mount" \ |
IF_FEATURE_MTAB_SUPPORT( \ |
2986 |
|
"\n -f Update /etc/mtab, but don't mount" \ |
2987 |
|
) \ |
2988 |
|
IF_NOT_FEATURE_MTAB_SUPPORT( \ |
2989 |
|
"\n -f Dry run" \ |
2990 |
|
) \ |
2991 |
|
) \ |
2992 |
|
IF_FEATURE_MOUNT_HELPERS( \ |
2993 |
|
"\n -i Don't run mount helper" \ |
2994 |
) \ |
) \ |
2995 |
USE_FEATURE_MTAB_SUPPORT( \ |
IF_FEATURE_MTAB_SUPPORT( \ |
2996 |
"\n -n Don't update /etc/mtab" \ |
"\n -n Don't update /etc/mtab" \ |
2997 |
) \ |
) \ |
2998 |
"\n -r Read-only mount" \ |
"\n -r Read-only mount" \ |
|
"\n -t fs-type Filesystem type" \ |
|
2999 |
"\n -w Read-write mount (default)" \ |
"\n -w Read-write mount (default)" \ |
3000 |
"\n" \ |
"\n -t FSTYPE Filesystem type" \ |
3001 |
"-o option:\n" \ |
"\n -O OPT Mount only filesystems with option OPT (-a only)" \ |
3002 |
USE_FEATURE_MOUNT_LOOP( \ |
"\n-o OPT:" \ |
3003 |
" loop Ignored (loop devices are autodetected)\n" \ |
IF_FEATURE_MOUNT_LOOP( \ |
3004 |
) \ |
"\n loop Ignored (loop devices are autodetected)" \ |
3005 |
USE_FEATURE_MOUNT_FLAGS( \ |
) \ |
3006 |
" [a]sync Writes are asynchronous / synchronous\n" \ |
IF_FEATURE_MOUNT_FLAGS( \ |
3007 |
" [no]atime Disable / enable updates to inode access times\n" \ |
"\n [a]sync Writes are [a]synchronous" \ |
3008 |
" [no]diratime Disable / enable atime updates to directories\n" \ |
"\n [no]atime Disable/enable updates to inode access times" \ |
3009 |
" [no]relatime Disable / enable atime updates relative to modification time\n" \ |
"\n [no]diratime Disable/enable atime updates to directories" \ |
3010 |
" [no]dev Allow use of special device files / disallow them\n" \ |
"\n [no]relatime Disable/enable atime updates relative to modification time" \ |
3011 |
" [no]exec Allow use of executable files / disallow them\n" \ |
"\n [no]dev (Dis)allow use of special device files" \ |
3012 |
" [no]suid Allow set-user-id-root programs / disallow them\n" \ |
"\n [no]exec (Dis)allow use of executable files" \ |
3013 |
" [r]shared Convert [recursively] to a shared subtree\n" \ |
"\n [no]suid (Dis)allow set-user-id-root programs" \ |
3014 |
" [r]slave Convert [recursively] to a slave subtree\n" \ |
"\n [r]shared Convert [recursively] to a shared subtree" \ |
3015 |
" [r]private Convert [recursively] to a private subtree\n" \ |
"\n [r]slave Convert [recursively] to a slave subtree" \ |
3016 |
" [un]bindable Make mount point [un]able to be bind mounted\n" \ |
"\n [r]private Convert [recursively] to a private subtree" \ |
3017 |
" bind Bind a directory to an additional location\n" \ |
"\n [un]bindable Make mount point [un]able to be bind mounted" \ |
3018 |
" move Relocate an existing mount point\n" \ |
"\n bind Bind a file or directory to another location" \ |
3019 |
|
"\n move Relocate an existing mount point" \ |
3020 |
) \ |
) \ |
3021 |
" remount Remount a mounted filesystem, changing its flags\n" \ |
"\n remount Remount a mounted filesystem, changing flags" \ |
3022 |
" ro/rw Mount for read-only / read-write\n" \ |
"\n ro/rw Same as -r/-w" \ |
3023 |
"\n" \ |
"\n" \ |
3024 |
"There are EVEN MORE flags that are specific to each filesystem\n" \ |
"\nThere are filesystem-specific -o flags." \ |
|
"You'll have to see the written documentation for those filesystems" \ |
|
3025 |
|
|
3026 |
#define mount_example_usage \ |
#define mount_example_usage \ |
3027 |
"$ mount\n" \ |
"$ mount\n" \ |
3035 |
"Returns 0 for success, number of failed mounts for -a, or errno for one mount." |
"Returns 0 for success, number of failed mounts for -a, or errno for one mount." |
3036 |
|
|
3037 |
#define mountpoint_trivial_usage \ |
#define mountpoint_trivial_usage \ |
3038 |
"[-q] <[-d] DIR | -x DEVICE>" |
"[-q] <[-dn] DIR | -x DEVICE>" |
3039 |
#define mountpoint_full_usage "\n\n" \ |
#define mountpoint_full_usage "\n\n" \ |
3040 |
"mountpoint checks if the directory is a mountpoint\n" \ |
"Check if the directory is a mountpoint\n" \ |
3041 |
"\nOptions:" \ |
"\nOptions:" \ |
3042 |
"\n -q Quiet" \ |
"\n -q Quiet" \ |
3043 |
"\n -d Print major/minor device number of the filesystem" \ |
"\n -d Print major/minor device number of the filesystem" \ |
3044 |
|
"\n -n Print device name of the filesystem" \ |
3045 |
"\n -x Print major/minor device number of the blockdevice" \ |
"\n -x Print major/minor device number of the blockdevice" \ |
3046 |
|
|
3047 |
#define mountpoint_example_usage \ |
#define mountpoint_example_usage \ |
3063 |
"setpart tell unload unlock weof wset" \ |
"setpart tell unload unlock weof wset" \ |
3064 |
|
|
3065 |
#define mv_trivial_usage \ |
#define mv_trivial_usage \ |
3066 |
"[OPTION]... SOURCE DEST\n" \ |
"[OPTIONS] SOURCE DEST\n" \ |
3067 |
"or: mv [OPTION]... SOURCE... DIRECTORY" |
"or: mv [OPTIONS] SOURCE... DIRECTORY" |
3068 |
#define mv_full_usage "\n\n" \ |
#define mv_full_usage "\n\n" \ |
3069 |
"Rename SOURCE to DEST, or move SOURCE(s) to DIRECTORY\n" \ |
"Rename SOURCE to DEST, or move SOURCE(s) to DIRECTORY\n" \ |
3070 |
"\nOptions:" \ |
"\nOptions:" \ |
3079 |
#define nameif_full_usage "\n\n" \ |
#define nameif_full_usage "\n\n" \ |
3080 |
"Rename network interface while it in the down state\n" \ |
"Rename network interface while it in the down state\n" \ |
3081 |
"\nOptions:" \ |
"\nOptions:" \ |
3082 |
"\n -c FILE Use configuration file (default is /etc/mactab)" \ |
"\n -c FILE Use configuration file (default: /etc/mactab)" \ |
3083 |
"\n -s Use syslog (LOCAL0 facility)" \ |
"\n -s Use syslog (LOCAL0 facility)" \ |
3084 |
"\n IFNAME MACADDR new_interface_name interface_mac_address" \ |
"\n IFNAME MACADDR new_interface_name interface_mac_address" \ |
3085 |
|
|
3097 |
#endif |
#endif |
3098 |
|
|
3099 |
#define nc_trivial_usage \ |
#define nc_trivial_usage \ |
3100 |
USE_NC_EXTRA("[-iN] [-wN] ")USE_NC_SERVER("[-l] [-p PORT] ") \ |
IF_NC_EXTRA("[-iN] [-wN] ")IF_NC_SERVER("[-l] [-p PORT] ") \ |
3101 |
"["USE_NC_EXTRA("-f FILENAME|")"IPADDR PORTNUM]"USE_NC_EXTRA(" [-e COMMAND]") |
"["IF_NC_EXTRA("-f FILENAME|")"IPADDR PORT]"IF_NC_EXTRA(" [-e PROG]") |
3102 |
#define nc_full_usage "\n\n" \ |
#define nc_full_usage "\n\n" \ |
3103 |
"Open a pipe to IP:port" USE_NC_EXTRA(" or file") \ |
"Open a pipe to IP:port" IF_NC_EXTRA(" or file") \ |
3104 |
NC_OPTIONS_STR \ |
NC_OPTIONS_STR \ |
3105 |
USE_NC_EXTRA( \ |
IF_NC_EXTRA( \ |
3106 |
"\n -e Exec rest of command line after connect" \ |
"\n -e PROG Run PROG after connect" \ |
3107 |
"\n -i SECS Delay interval for lines sent" \ |
"\n -i SEC Delay interval for lines sent" \ |
3108 |
"\n -w SECS Timeout for connect" \ |
"\n -w SEC Timeout for connect" \ |
3109 |
"\n -f FILE Use file (ala /dev/ttyS0) instead of network" \ |
"\n -f FILE Use file (ala /dev/ttyS0) instead of network" \ |
3110 |
) \ |
) \ |
3111 |
USE_NC_SERVER( \ |
IF_NC_SERVER( \ |
3112 |
"\n -l Listen mode, for inbound connects" \ |
"\n -l Listen mode, for inbound connects" \ |
3113 |
USE_NC_EXTRA( \ |
IF_NC_EXTRA( \ |
3114 |
"\n (use -l twice with -e for persistent server)") \ |
"\n (use -l twice with -e for persistent server)") \ |
3115 |
"\n -p PORT Local port number" \ |
"\n -p PORT Local port" \ |
3116 |
) |
) |
3117 |
|
|
3118 |
#define nc_notes_usage "" \ |
#define nc_notes_usage "" \ |
3119 |
USE_NC_EXTRA( \ |
IF_NC_EXTRA( \ |
3120 |
"To use netcat as a terminal emulator on a serial port:\n\n" \ |
"To use netcat as a terminal emulator on a serial port:\n\n" \ |
3121 |
"$ stty 115200 -F /dev/ttyS0\n" \ |
"$ stty 115200 -F /dev/ttyS0\n" \ |
3122 |
"$ stty raw -echo -ctlecho && nc -f /dev/ttyS0\n" \ |
"$ stty raw -echo -ctlecho && nc -f /dev/ttyS0\n" \ |
3135 |
#else /* DESKTOP nc - much more compatible with nc 1.10 */ |
#else /* DESKTOP nc - much more compatible with nc 1.10 */ |
3136 |
|
|
3137 |
#define nc_trivial_usage \ |
#define nc_trivial_usage \ |
3138 |
"[-options] hostname port - connect" \ |
"[OPTIONS] HOST PORT - connect" \ |
3139 |
USE_NC_SERVER("\n" \ |
IF_NC_SERVER("\n" \ |
3140 |
"nc [-options] -l -p port [hostname] [port] - listen") |
"nc [OPTIONS] -l -p PORT [HOST] [PORT] - listen") |
3141 |
#define nc_full_usage "\n\n" \ |
#define nc_full_usage "\n\n" \ |
3142 |
"Options:" \ |
"Options:" \ |
3143 |
"\n -e prog [args] Program to exec after connect (must be last)" \ |
"\n -e PROG Run PROG after connect (must be last)" \ |
3144 |
USE_NC_SERVER( \ |
IF_NC_SERVER( \ |
3145 |
"\n -l Listen mode, for inbound connects" \ |
"\n -l Listen mode, for inbound connects" \ |
3146 |
) \ |
) \ |
3147 |
"\n -n Don't do DNS resolution" \ |
"\n -n Don't do DNS resolution" \ |
3148 |
"\n -s addr Local address" \ |
"\n -s ADDR Local address" \ |
3149 |
"\n -p port Local port" \ |
"\n -p PORT Local port" \ |
3150 |
"\n -u UDP mode" \ |
"\n -u UDP mode" \ |
3151 |
"\n -v Verbose (cumulative: -vv)" \ |
"\n -v Verbose" \ |
3152 |
"\n -w secs Timeout for connects and final net reads" \ |
"\n -w SEC Timeout for connects and final net reads" \ |
3153 |
USE_NC_EXTRA( \ |
IF_NC_EXTRA( \ |
3154 |
"\n -i sec Delay interval for lines sent" /* ", ports scanned" */ \ |
"\n -i SEC Delay interval for lines sent" /* ", ports scanned" */ \ |
3155 |
"\n -o file Hex dump of traffic" \ |
"\n -o FILE Hex dump traffic" \ |
3156 |
"\n -z Zero-I/O mode (scanning)" \ |
"\n -z Zero-I/O mode (scanning)" \ |
3157 |
) \ |
) \ |
3158 |
/* "\n -r Randomize local and remote ports" */ |
/* "\n -r Randomize local and remote ports" */ |
3160 |
/* "\n -G num Source-routing pointer: 4, 8, 12, ..." */ |
/* "\n -G num Source-routing pointer: 4, 8, 12, ..." */ |
3161 |
/* "\nport numbers can be individual or ranges: lo-hi [inclusive]" */ |
/* "\nport numbers can be individual or ranges: lo-hi [inclusive]" */ |
3162 |
|
|
3163 |
|
/* -e PROG can take ARGS too: "nc ... -e ls -l", but we don't document it |
3164 |
|
* in help text: nc 1.10 does not allow that. We don't want to entice |
3165 |
|
* users to use this incompatibility */ |
3166 |
|
|
3167 |
#endif |
#endif |
3168 |
|
|
3169 |
#define netstat_trivial_usage \ |
#define netstat_trivial_usage \ |
3170 |
"[-laentuwxr"USE_FEATURE_NETSTAT_WIDE("W")USE_FEATURE_NETSTAT_PRG("p")"]" |
"[-laentuwxr"IF_FEATURE_NETSTAT_WIDE("W")IF_FEATURE_NETSTAT_PRG("p")"]" |
3171 |
#define netstat_full_usage "\n\n" \ |
#define netstat_full_usage "\n\n" \ |
3172 |
"Display networking information\n" \ |
"Display networking information\n" \ |
3173 |
"\nOptions:" \ |
"\nOptions:" \ |
3180 |
"\n -w Raw sockets" \ |
"\n -w Raw sockets" \ |
3181 |
"\n -x Unix sockets" \ |
"\n -x Unix sockets" \ |
3182 |
"\n -r Display routing table" \ |
"\n -r Display routing table" \ |
3183 |
USE_FEATURE_NETSTAT_WIDE( \ |
IF_FEATURE_NETSTAT_WIDE( \ |
3184 |
"\n -W Display with no column truncation" \ |
"\n -W Display with no column truncation" \ |
3185 |
) \ |
) \ |
3186 |
USE_FEATURE_NETSTAT_PRG( \ |
IF_FEATURE_NETSTAT_PRG( \ |
3187 |
"\n -p Display PID/Program name for sockets" \ |
"\n -p Display PID/Program name for sockets" \ |
3188 |
) |
) |
3189 |
|
|
3190 |
#define nice_trivial_usage \ |
#define nice_trivial_usage \ |
3191 |
"[-n ADJUST] [COMMAND [ARG]...]" |
"[-n ADJUST] [PROG ARGS]" |
3192 |
#define nice_full_usage "\n\n" \ |
#define nice_full_usage "\n\n" \ |
3193 |
"Run a program with modified scheduling priority\n" \ |
"Run PROG with modified scheduling priority\n" \ |
3194 |
"\nOptions:" \ |
"\nOptions:" \ |
3195 |
"\n -n ADJUST Adjust the scheduling priority by ADJUST" \ |
"\n -n ADJUST Adjust priority by ADJUST" \ |
3196 |
|
|
3197 |
#define nmeter_trivial_usage \ |
#define nmeter_trivial_usage \ |
3198 |
"format_string" |
"format_string" |
3199 |
#define nmeter_full_usage "\n\n" \ |
#define nmeter_full_usage "\n\n" \ |
3200 |
"Monitor system in real time\n\n" \ |
"Monitor system in real time\n\n" \ |
3201 |
"Format specifiers:\n" \ |
"Format specifiers:\n" \ |
3202 |
"%Nc or %[cN] Monitor CPU. N - bar size, default 10\n" \ |
" %Nc or %[cN] Monitor CPU. N - bar size, default 10\n" \ |
3203 |
" (displays: S:system U:user N:niced D:iowait I:irq i:softirq)\n" \ |
" (displays: S:system U:user N:niced D:iowait I:irq i:softirq)\n" \ |
3204 |
"%[niface] Monitor network interface 'iface'\n" \ |
" %[niface] Monitor network interface 'iface'\n" \ |
3205 |
"%m Monitor allocated memory\n" \ |
" %m Monitor allocated memory\n" \ |
3206 |
"%[mf] Monitor free memory\n" \ |
" %[mf] Monitor free memory\n" \ |
3207 |
"%[mt] Monitor total memory\n" \ |
" %[mt] Monitor total memory\n" \ |
3208 |
"%s Monitor allocated swap\n" \ |
" %s Monitor allocated swap\n" \ |
3209 |
"%f Monitor number of used file descriptors\n" \ |
" %f Monitor number of used file descriptors\n" \ |
3210 |
"%Ni Monitor total/specific IRQ rate\n" \ |
" %Ni Monitor total/specific IRQ rate\n" \ |
3211 |
"%x Monitor context switch rate\n" \ |
" %x Monitor context switch rate\n" \ |
3212 |
"%p Monitor forks\n" \ |
" %p Monitor forks\n" \ |
3213 |
"%[pn] Monitor # of processes\n" \ |
" %[pn] Monitor # of processes\n" \ |
3214 |
"%b Monitor block io\n" \ |
" %b Monitor block io\n" \ |
3215 |
"%Nt Show time (with N decimal points)\n" \ |
" %Nt Show time (with N decimal points)\n" \ |
3216 |
"%Nd Milliseconds between updates (default=1000)\n" \ |
" %Nd Milliseconds between updates (default:1000)\n" \ |
3217 |
"%r Print <cr> instead of <lf> at EOL" \ |
" %r Print <cr> instead of <lf> at EOL" \ |
3218 |
|
|
3219 |
#define nmeter_example_usage \ |
#define nmeter_example_usage \ |
3220 |
"nmeter '%250d%t %20c int %i bio %b mem %m forks%p'" |
"nmeter '%250d%t %20c int %i bio %b mem %m forks%p'" |
3221 |
|
|
3222 |
#define nohup_trivial_usage \ |
#define nohup_trivial_usage \ |
3223 |
"COMMAND [ARGS]" |
"PROG ARGS" |
3224 |
#define nohup_full_usage "\n\n" \ |
#define nohup_full_usage "\n\n" \ |
3225 |
"Run a command immune to hangups, with output to a non-tty" |
"Run PROG immune to hangups, with output to a non-tty" |
3226 |
#define nohup_example_usage \ |
#define nohup_example_usage \ |
3227 |
"$ nohup make &" |
"$ nohup make &" |
3228 |
|
|
3239 |
"Name: debian\n" \ |
"Name: debian\n" \ |
3240 |
"Address: 127.0.0.1\n" |
"Address: 127.0.0.1\n" |
3241 |
|
|
3242 |
|
#define ntpd_trivial_usage \ |
3243 |
|
"[-dnqwl] [-S PROG] [-p PEER]..." |
3244 |
|
#define ntpd_full_usage "\n\n" \ |
3245 |
|
"NTP client/server\n" \ |
3246 |
|
"\nOptions:" \ |
3247 |
|
"\n -d Verbose" \ |
3248 |
|
"\n -n Do not daemonize" \ |
3249 |
|
"\n -q Quit after clock is set" \ |
3250 |
|
/* -N exists for mostly compat reasons, thus not essential to inform */ \ |
3251 |
|
/* the user that it exists: user may use nice as well */ \ |
3252 |
|
/* "\n -N Run at high priority" */ \ |
3253 |
|
"\n -w Do not set time (only query peers), implies -n" \ |
3254 |
|
"\n -l Run as server on port 123" \ |
3255 |
|
"\n -S PROG Run PROG after stepping time, stratum change, and every 11 mins" \ |
3256 |
|
"\n -p PEER Obtain time from PEER (may be repeated)" \ |
3257 |
|
|
3258 |
#define od_trivial_usage \ |
#define od_trivial_usage \ |
3259 |
"[-aBbcDdeFfHhIiLlOovXx] " USE_DESKTOP("[-t TYPE] ") "[FILE]" |
"[-aBbcDdeFfHhIiLlOovXx] " IF_DESKTOP("[-t TYPE] ") "[FILE]" |
3260 |
#define od_full_usage "\n\n" \ |
#define od_full_usage "\n\n" \ |
3261 |
"Write an unambiguous representation, octal bytes by default, of FILE\n" \ |
"Write an unambiguous representation, octal bytes by default, of FILE\n" \ |
3262 |
"to standard output. With no FILE or when FILE is -, read standard input." |
"(or stdin) to stdout" |
3263 |
|
|
3264 |
#define openvt_trivial_usage \ |
#define openvt_trivial_usage \ |
3265 |
"[-c NUM] [-sw] [COMMAND [ARGS]]" |
"[-c N] [-sw] [PROG ARGS]" |
3266 |
#define openvt_full_usage "\n\n" \ |
#define openvt_full_usage "\n\n" \ |
3267 |
"Start COMMAND on a new virtual terminal\n" \ |
"Start PROG on a new virtual terminal\n" \ |
3268 |
"\nOptions:" \ |
"\nOptions:" \ |
3269 |
"\n -c Use specified VT" \ |
"\n -c N Use specified VT" \ |
3270 |
"\n -s Switch to the VT" \ |
"\n -s Switch to the VT" \ |
3271 |
/* "\n -l Run COMMAND as login shell (by prepending '-')" */ \ |
/* "\n -l Run PROG as login shell (by prepending '-')" */ \ |
3272 |
"\n -w Wait for COMMAND to exit" \ |
"\n -w Wait for PROG to exit" \ |
3273 |
|
|
3274 |
#define openvt_example_usage \ |
#define openvt_example_usage \ |
3275 |
"openvt 2 /bin/ash\n" |
"openvt 2 /bin/ash\n" |
3276 |
|
|
3277 |
|
/* |
3278 |
#define parse_trivial_usage \ |
#define parse_trivial_usage \ |
3279 |
"[-n maxtokens] [-m mintokens] [-d delims] [-f flags] file ..." |
"[-n MAXTOKENS] [-m MINTOKENS] [-d DELIMS] [-f FLAGS] FILE..." |
3280 |
#define parse_full_usage "\n\n" \ |
#define parse_full_usage "" |
3281 |
"[-n maxtokens] [-m mintokens] [-d delims] [-f flags] file ..." |
*/ |
3282 |
|
|
3283 |
#define passwd_trivial_usage \ |
#define passwd_trivial_usage \ |
3284 |
"[OPTION] [name]" |
"[OPTIONS] [USER]" |
3285 |
#define passwd_full_usage "\n\n" \ |
#define passwd_full_usage "\n\n" \ |
3286 |
"Change user's password. If no name is specified,\n" \ |
"Change USER's password. If no USER is specified,\n" \ |
3287 |
"changes the password for the current user.\n" \ |
"changes the password for the current user.\n" \ |
3288 |
"\nOptions:" \ |
"\nOptions:" \ |
3289 |
"\n -a Algorithm to use for password (choices: des, md5)" /* ", sha1)" */ \ |
"\n -a Algorithm to use for password (des, md5)" /* ", sha1)" */ \ |
3290 |
"\n -d Delete password for the account" \ |
"\n -d Delete password for the account" \ |
3291 |
"\n -l Lock (disable) account" \ |
"\n -l Lock (disable) account" \ |
3292 |
"\n -u Unlock (re-enable) account" \ |
"\n -u Unlock (re-enable) account" \ |
3293 |
|
|
3294 |
#define chpasswd_trivial_usage \ |
#define chpasswd_trivial_usage \ |
3295 |
USE_GETOPT_LONG("[--md5|--encrypted]") SKIP_GETOPT_LONG("[-m|-e]") |
IF_LONG_OPTS("[--md5|--encrypted]") IF_NOT_LONG_OPTS("[-m|-e]") |
3296 |
#define chpasswd_full_usage "\n\n" \ |
#define chpasswd_full_usage "\n\n" \ |
3297 |
"Read user:password information from stdin " \ |
"Read user:password from stdin and update /etc/passwd\n" \ |
|
"and update /etc/passwd accordingly.\n" \ |
|
3298 |
"\nOptions:" \ |
"\nOptions:" \ |
3299 |
USE_GETOPT_LONG( \ |
IF_LONG_OPTS( \ |
3300 |
"\n -e,--encrypted Supplied passwords are in encrypted form" \ |
"\n -e,--encrypted Supplied passwords are in encrypted form" \ |
3301 |
"\n -m,--md5 Use MD5 encryption instead of DES" \ |
"\n -m,--md5 Use MD5 encryption instead of DES" \ |
3302 |
) \ |
) \ |
3303 |
SKIP_GETOPT_LONG( \ |
IF_NOT_LONG_OPTS( \ |
3304 |
"\n -e Supplied passwords are in encrypted form" \ |
"\n -e Supplied passwords are in encrypted form" \ |
3305 |
"\n -m Use MD5 encryption instead of DES" \ |
"\n -m Use MD5 encryption instead of DES" \ |
3306 |
) |
) |
3307 |
|
|
3308 |
#define patch_trivial_usage \ |
#define patch_trivial_usage \ |
3309 |
"[-p NUM] [-i DIFF] [-R]" |
"[OPTIONS] [ORIGFILE [PATCHFILE]]" |
3310 |
#define patch_full_usage "\n\n" \ |
#define patch_full_usage "\n\n" \ |
3311 |
" -p NUM Strip NUM leading components from file names" \ |
IF_LONG_OPTS( \ |
3312 |
|
" -p,--strip N Strip N leading components from file names" \ |
3313 |
|
"\n -i,--input DIFF Read DIFF instead of stdin" \ |
3314 |
|
"\n -R,--reverse Reverse patch" \ |
3315 |
|
"\n -N,--forward Ignore already applied patches" \ |
3316 |
|
"\n --dry-run Don't actually change files" \ |
3317 |
|
) \ |
3318 |
|
IF_NOT_LONG_OPTS( \ |
3319 |
|
" -p N Strip N leading components from file names" \ |
3320 |
"\n -i DIFF Read DIFF instead of stdin" \ |
"\n -i DIFF Read DIFF instead of stdin" \ |
3321 |
"\n -R Reverse patch" \ |
"\n -R Reverse patch" \ |
3322 |
|
"\n -N Ignore already applied patches" \ |
3323 |
|
) |
3324 |
|
|
3325 |
#define patch_example_usage \ |
#define patch_example_usage \ |
3326 |
"$ patch -p1 < example.diff\n" \ |
"$ patch -p1 < example.diff\n" \ |
3327 |
"$ patch -p0 -i example.diff" |
"$ patch -p0 -i example.diff" |
3328 |
|
|
3329 |
#define pgrep_trivial_usage \ |
#define pgrep_trivial_usage \ |
3330 |
"[-flnovx] pattern" |
"[-flnovx] [-s SID|-P PPID|PATTERN]" |
3331 |
#define pgrep_full_usage "\n\n" \ |
#define pgrep_full_usage "\n\n" \ |
3332 |
"Display process(es) selected by regex pattern\n" \ |
"Display process(es) selected by regex PATTERN\n" \ |
3333 |
"\nOptions:" \ |
"\nOptions:" \ |
3334 |
"\n -l Show command name too" \ |
"\n -l Show command name too" \ |
3335 |
"\n -f Match against entire command line" \ |
"\n -f Match against entire command line" \ |
3336 |
"\n -n Show the newest process only" \ |
"\n -n Show the newest process only" \ |
3337 |
"\n -o Show the oldest process only" \ |
"\n -o Show the oldest process only" \ |
3338 |
"\n -v Negate the matching" \ |
"\n -v Negate the match" \ |
3339 |
"\n -x Match whole name (not substring)" \ |
"\n -x Match whole name (not substring)" \ |
3340 |
|
"\n -s Match session ID (0 for current)" \ |
3341 |
|
"\n -P Match parent process ID" \ |
3342 |
|
|
3343 |
#if (ENABLE_FEATURE_PIDOF_SINGLE || ENABLE_FEATURE_PIDOF_OMIT) |
#if (ENABLE_FEATURE_PIDOF_SINGLE || ENABLE_FEATURE_PIDOF_OMIT) |
3344 |
#define pidof_trivial_usage \ |
#define pidof_trivial_usage \ |
3345 |
"[OPTION] [NAME...]" |
"[OPTIONS] [NAME]..." |
3346 |
#define USAGE_PIDOF "\n\nOptions:" |
#define USAGE_PIDOF "\n\nOptions:" |
3347 |
#else |
#else |
3348 |
#define pidof_trivial_usage \ |
#define pidof_trivial_usage \ |
3349 |
"[NAME...]" |
"[NAME]..." |
3350 |
#define USAGE_PIDOF /* none */ |
#define USAGE_PIDOF /* none */ |
3351 |
#endif |
#endif |
3352 |
#define pidof_full_usage "\n\n" \ |
#define pidof_full_usage "\n\n" \ |
3353 |
"List PIDs of all processes with names that match NAMEs" \ |
"List PIDs of all processes with names that match NAMEs" \ |
3354 |
USAGE_PIDOF \ |
USAGE_PIDOF \ |
3355 |
USE_FEATURE_PIDOF_SINGLE( \ |
IF_FEATURE_PIDOF_SINGLE( \ |
3356 |
"\n -s Show only one PID") \ |
"\n -s Show only one PID") \ |
3357 |
USE_FEATURE_PIDOF_OMIT( \ |
IF_FEATURE_PIDOF_OMIT( \ |
3358 |
"\n -o PID Omit given pid" \ |
"\n -o PID Omit given pid" \ |
3359 |
"\n Use %PPID to omit pid of pidof's parent") \ |
"\n Use %PPID to omit pid of pidof's parent") \ |
3360 |
|
|
3361 |
#define pidof_example_usage \ |
#define pidof_example_usage \ |
3362 |
"$ pidof init\n" \ |
"$ pidof init\n" \ |
3363 |
"1\n" \ |
"1\n" \ |
3364 |
USE_FEATURE_PIDOF_OMIT( \ |
IF_FEATURE_PIDOF_OMIT( \ |
3365 |
"$ pidof /bin/sh\n20351 5973 5950\n") \ |
"$ pidof /bin/sh\n20351 5973 5950\n") \ |
3366 |
USE_FEATURE_PIDOF_OMIT( \ |
IF_FEATURE_PIDOF_OMIT( \ |
3367 |
"$ pidof /bin/sh -o %PPID\n20351 5950") |
"$ pidof /bin/sh -o %PPID\n20351 5950") |
3368 |
|
|
3369 |
#if !ENABLE_FEATURE_FANCY_PING |
#if !ENABLE_FEATURE_FANCY_PING |
3377 |
"Send ICMP ECHO_REQUEST packets to network hosts" |
"Send ICMP ECHO_REQUEST packets to network hosts" |
3378 |
#else |
#else |
3379 |
#define ping_trivial_usage \ |
#define ping_trivial_usage \ |
3380 |
"[OPTION]... host" |
"[OPTIONS] HOST" |
3381 |
#define ping_full_usage "\n\n" \ |
#define ping_full_usage "\n\n" \ |
3382 |
"Send ICMP ECHO_REQUEST packets to network hosts\n" \ |
"Send ICMP ECHO_REQUEST packets to network hosts\n" \ |
3383 |
"\nOptions:" \ |
"\nOptions:" \ |
3384 |
"\n -4, -6 Force IPv4 or IPv6 hostname resolution" \ |
"\n -4, -6 Force IP or IPv6 name resolution" \ |
3385 |
"\n -c CNT Send only CNT pings" \ |
"\n -c CNT Send only CNT pings" \ |
3386 |
"\n -s SIZE Send SIZE data bytes in packets (default=56)" \ |
"\n -s SIZE Send SIZE data bytes in packets (default:56)" \ |
3387 |
"\n -I iface/IP Use interface or IP address as source" \ |
"\n -I IFACE/IP Use interface or IP address as source" \ |
3388 |
"\n -W timeout Seconds to wait for the first response (default:10)" \ |
"\n -W SEC Seconds to wait for the first response (default:10)" \ |
3389 |
"\n (after all -c CNT packets are sent)" \ |
"\n (after all -c CNT packets are sent)" \ |
3390 |
"\n -w deadline Seconds until ping exits (default:infinite)" \ |
"\n -w SEC Seconds until ping exits (default:infinite)" \ |
3391 |
"\n (can exit earlier with -c CNT)" \ |
"\n (can exit earlier with -c CNT)" \ |
3392 |
"\n -q Quiet, only displays output at start" \ |
"\n -q Quiet, only displays output at start" \ |
3393 |
"\n and when finished" \ |
"\n and when finished" \ |
3394 |
|
|
3395 |
#define ping6_trivial_usage \ |
#define ping6_trivial_usage \ |
3396 |
"[OPTION]... host" |
"[OPTIONS] HOST" |
3397 |
#define ping6_full_usage "\n\n" \ |
#define ping6_full_usage "\n\n" \ |
3398 |
"Send ICMP ECHO_REQUEST packets to network hosts\n" \ |
"Send ICMP ECHO_REQUEST packets to network hosts\n" \ |
3399 |
"\nOptions:" \ |
"\nOptions:" \ |
3400 |
"\n -c CNT Send only CNT pings" \ |
"\n -c CNT Send only CNT pings" \ |
3401 |
"\n -s SIZE Send SIZE data bytes in packets (default=56)" \ |
"\n -s SIZE Send SIZE data bytes in packets (default:56)" \ |
3402 |
"\n -I iface/IP Use interface or IP address as source" \ |
"\n -I IFACE/IP Use interface or IP address as source" \ |
3403 |
"\n -q Quiet, only displays output at start" \ |
"\n -q Quiet, only displays output at start" \ |
3404 |
"\n and when finished" \ |
"\n and when finished" \ |
3405 |
|
|
3431 |
"the new root file system" |
"the new root file system" |
3432 |
|
|
3433 |
#define pkill_trivial_usage \ |
#define pkill_trivial_usage \ |
3434 |
"[-l] | [-fnovx] [-signal] pattern" |
"[-l|-SIGNAL] [-fnovx] [-s SID|-P PPID|PATTERN]" |
3435 |
#define pkill_full_usage "\n\n" \ |
#define pkill_full_usage "\n\n" \ |
3436 |
"Send a signal to process(es) selected by regex pattern\n" \ |
"Send a signal to process(es) selected by regex PATTERN\n" \ |
3437 |
"\nOptions:" \ |
"\nOptions:" \ |
3438 |
"\n -l List all signals" \ |
"\n -l List all signals" \ |
3439 |
"\n -f Match against entire command line" \ |
"\n -f Match against entire command line" \ |
3440 |
"\n -n Signal the newest process only" \ |
"\n -n Signal the newest process only" \ |
3441 |
"\n -o Signal the oldest process only" \ |
"\n -o Signal the oldest process only" \ |
3442 |
"\n -v Negate the matching" \ |
"\n -v Negate the match" \ |
3443 |
"\n -x Match whole name (not substring)" \ |
"\n -x Match whole name (not substring)" \ |
3444 |
|
"\n -s Match session ID (0 for current)" \ |
3445 |
|
"\n -P Match parent process ID" \ |
3446 |
|
|
3447 |
#define popmaildir_trivial_usage \ |
#define popmaildir_trivial_usage \ |
3448 |
"[OPTIONS] Maildir [connection-helper ...]" |
"[OPTIONS] MAILDIR [CONN_HELPER ARGS]" |
3449 |
#define popmaildir_full_usage "\n\n" \ |
#define popmaildir_full_usage "\n\n" \ |
3450 |
"Fetch content of remote mailbox to local maildir\n" \ |
"Fetch content of remote mailbox to local maildir\n" \ |
3451 |
"\nOptions:" \ |
"\nOptions:" \ |
3452 |
"\n -b Binary mode. Ignored" \ |
/* "\n -b Binary mode. Ignored" */ \ |
3453 |
"\n -d Debug. Ignored" \ |
/* "\n -d Debug. Ignored" */ \ |
3454 |
"\n -m Show used memory. Ignored" \ |
/* "\n -m Show used memory. Ignored" */ \ |
3455 |
"\n -V Show version. Ignored" \ |
/* "\n -V Show version. Ignored" */ \ |
3456 |
"\n -c Use tcpclient. Ignored" \ |
/* "\n -c Use tcpclient. Ignored" */ \ |
3457 |
"\n -a Use APOP protocol. Implied. If server supports APOP -> use it" \ |
/* "\n -a Use APOP protocol. Implied. If server supports APOP -> use it" */ \ |
3458 |
"\n -s Skip authorization" \ |
"\n -s Skip authorization" \ |
3459 |
"\n -T Get messages with TOP instead with RETR" \ |
"\n -T Get messages with TOP instead with RETR" \ |
3460 |
"\n -k Keep retrieved messages on the server" \ |
"\n -k Keep retrieved messages on the server" \ |
3461 |
"\n -t timeout Set network timeout" \ |
"\n -t SEC Network timeout" \ |
3462 |
USE_FEATURE_POPMAILDIR_DELIVERY( \ |
IF_FEATURE_POPMAILDIR_DELIVERY( \ |
3463 |
"\n -F \"program arg1 arg2 ...\" Filter by program. May be multiple" \ |
"\n -F \"PROG ARGS\" Filter program. May be multiple" \ |
3464 |
"\n -M \"program arg1 arg2 ...\" Deliver by program" \ |
"\n -M \"PROG ARGS\" Delivery program" \ |
3465 |
) \ |
) \ |
3466 |
"\n -R size Remove old messages on the server >= size (in bytes). Ignored" \ |
/* "\n -R BYTES Remove old messages on the server >= BYTES. Ignored" */ |
3467 |
"\n -Z N1-N2 Remove messages from N1 to N2 (dangerous). Ignored" \ |
/* "\n -Z N1-N2 Remove messages from N1 to N2 (dangerous). Ignored" */ |
3468 |
"\n -L size Do not retrieve new messages >= size (in bytes). Ignored" \ |
/* "\n -L BYTES Don't retrieve new messages >= BYTES. Ignored" */ |
3469 |
"\n -H lines Type specified number of lines of a message. Ignored" |
/* "\n -H LINES Type first LINES of a message. Ignored" */ |
3470 |
#define popmaildir_example_usage \ |
#define popmaildir_example_usage \ |
3471 |
"$ popmaildir -k ~/Maildir -- nc pop.drvv.ru 110 [<password_file]\n" \ |
"$ popmaildir -k ~/Maildir -- nc pop.drvv.ru 110 [<password_file]\n" \ |
3472 |
"$ popmaildir ~/Maildir -- openssl s_client -quiet -connect pop.gmail.com:995 [<password_file]\n" |
"$ popmaildir ~/Maildir -- openssl s_client -quiet -connect pop.gmail.com:995 [<password_file]\n" |
3473 |
|
|
3474 |
#define poweroff_trivial_usage \ |
#define poweroff_trivial_usage \ |
3475 |
"[-d delay] [-n] [-f]" |
"[-d DELAY] [-n] [-f]" |
3476 |
#define poweroff_full_usage "\n\n" \ |
#define poweroff_full_usage "\n\n" \ |
3477 |
"Halt and shut off power\n" \ |
"Halt and shut off power\n" \ |
3478 |
"\nOptions:" \ |
"\nOptions:" \ |
3481 |
"\n -f Force power off (don't go through init)" \ |
"\n -f Force power off (don't go through init)" \ |
3482 |
|
|
3483 |
#define printenv_trivial_usage \ |
#define printenv_trivial_usage \ |
3484 |
"[VARIABLES...]" |
"[VARIABLE]..." |
3485 |
#define printenv_full_usage "\n\n" \ |
#define printenv_full_usage "\n\n" \ |
3486 |
"Print all or part of environment.\n" \ |
"Print environment VARIABLEs.\n" \ |
3487 |
"If no environment VARIABLE specified, print them all." |
"If no VARIABLE specified, print all." |
3488 |
|
|
3489 |
#define printf_trivial_usage \ |
#define printf_trivial_usage \ |
3490 |
"FORMAT [ARGUMENT...]" |
"FORMAT [ARGUMENT]..." |
3491 |
#define printf_full_usage "\n\n" \ |
#define printf_full_usage "\n\n" \ |
3492 |
"Format and print ARGUMENT(s) according to FORMAT,\n" \ |
"Format and print ARGUMENT(s) according to FORMAT,\n" \ |
3493 |
"where FORMAT controls the output exactly as in C printf" |
"where FORMAT controls the output exactly as in C printf" |
3504 |
"Report process status\n" \ |
"Report process status\n" \ |
3505 |
"\nOptions:" \ |
"\nOptions:" \ |
3506 |
"\n -o col1,col2=header Select columns for display" \ |
"\n -o col1,col2=header Select columns for display" \ |
3507 |
|
IF_FEATURE_SHOW_THREADS( \ |
3508 |
|
"\n -T Show threads" \ |
3509 |
|
) |
3510 |
|
|
3511 |
#else /* !ENABLE_DESKTOP */ |
#else /* !ENABLE_DESKTOP */ |
3512 |
|
|
3521 |
#define ps_full_usage "\n\n" \ |
#define ps_full_usage "\n\n" \ |
3522 |
"Report process status\n" \ |
"Report process status\n" \ |
3523 |
USAGE_PS \ |
USAGE_PS \ |
3524 |
USE_SELINUX( \ |
IF_SELINUX( \ |
3525 |
"\n -Z Show SE Linux context" \ |
"\n -Z Show SE Linux context" \ |
3526 |
) \ |
) \ |
3527 |
USE_FEATURE_PS_WIDE( \ |
IF_FEATURE_PS_WIDE( \ |
3528 |
"\n w Wide output" \ |
"\n w Wide output" \ |
3529 |
) |
) |
3530 |
|
|
3589 |
#define readahead_trivial_usage \ |
#define readahead_trivial_usage \ |
3590 |
"[FILE]..." |
"[FILE]..." |
3591 |
#define readahead_full_usage "\n\n" \ |
#define readahead_full_usage "\n\n" \ |
3592 |
"Preload FILE(s) in RAM cache so that subsequent reads for those" \ |
"Preload FILEs to RAM" |
|
"files do not block on disk I/O" |
|
3593 |
|
|
3594 |
#define readlink_trivial_usage \ |
#define readlink_trivial_usage \ |
3595 |
USE_FEATURE_READLINK_FOLLOW("[-f] ") "FILE" |
IF_FEATURE_READLINK_FOLLOW("[-fnv] ") "FILE" |
3596 |
#define readlink_full_usage "\n\n" \ |
#define readlink_full_usage "\n\n" \ |
3597 |
"Display the value of a symlink" \ |
"Display the value of a symlink" \ |
3598 |
USE_FEATURE_READLINK_FOLLOW( "\n" \ |
IF_FEATURE_READLINK_FOLLOW( "\n" \ |
3599 |
"\nOptions:" \ |
"\nOptions:" \ |
3600 |
"\n -f Canonicalize by following all symlinks") \ |
"\n -f Canonicalize by following all symlinks" \ |
3601 |
|
"\n -n Don't add newline" \ |
3602 |
|
"\n -v Verbose" \ |
3603 |
|
) \ |
3604 |
|
|
3605 |
#define readprofile_trivial_usage \ |
#define readprofile_trivial_usage \ |
3606 |
"[OPTIONS]..." |
"[OPTIONS]" |
3607 |
#define readprofile_full_usage "\n\n" \ |
#define readprofile_full_usage "\n\n" \ |
3608 |
"Options:" \ |
"Options:" \ |
3609 |
"\n -m mapfile (Default: /boot/System.map)" \ |
"\n -m mapfile (Default: /boot/System.map)" \ |
3618 |
"\n -n Disable byte order auto-detection" \ |
"\n -n Disable byte order auto-detection" \ |
3619 |
|
|
3620 |
#define realpath_trivial_usage \ |
#define realpath_trivial_usage \ |
3621 |
"pathname..." |
"FILE..." |
3622 |
#define realpath_full_usage "\n\n" \ |
#define realpath_full_usage "\n\n" \ |
3623 |
"Return the absolute pathnames of given argument" |
"Return the absolute pathnames of given FILE" |
3624 |
|
|
3625 |
#define reboot_trivial_usage \ |
#define reboot_trivial_usage \ |
3626 |
"[-d delay] [-n] [-f]" |
"[-d DELAY] [-n] [-f]" |
3627 |
#define reboot_full_usage "\n\n" \ |
#define reboot_full_usage "\n\n" \ |
3628 |
"Reboot the system\n" \ |
"Reboot the system\n" \ |
3629 |
"\nOptions:" \ |
"\nOptions:" \ |
3632 |
"\n -f Force reboot (don't go through init)" \ |
"\n -f Force reboot (don't go through init)" \ |
3633 |
|
|
3634 |
#define reformime_trivial_usage \ |
#define reformime_trivial_usage \ |
3635 |
"[OPTION]... [FILE]..." |
"[OPTIONS] [FILE]..." |
3636 |
#define reformime_full_usage "\n\n" \ |
#define reformime_full_usage "\n\n" \ |
3637 |
"Parse MIME-encoded message\n" \ |
"Parse MIME-encoded message\n" \ |
3638 |
"\nOptions:" \ |
"\nOptions:" \ |
3639 |
"\n -x prefix Extract content of MIME sections to files" \ |
"\n -x PREFIX Extract content of MIME sections to files" \ |
3640 |
"\n -X prog [args] Filter content of MIME sections through prog." \ |
"\n -X PROG ARGS Filter content of MIME sections through PROG" \ |
3641 |
"\n Must be the last option" \ |
"\n Must be the last option" \ |
3642 |
"\n" \ |
"\n" \ |
3643 |
"\nOther options are silently ignored." \ |
"\nOther options are silently ignored" \ |
3644 |
|
|
3645 |
#define renice_trivial_usage \ |
#define renice_trivial_usage \ |
3646 |
"{{-n INCREMENT} | PRIORITY} [[-p | -g | -u] ID...]" |
"{{-n INCREMENT} | PRIORITY} [[-p | -g | -u] ID...]" |
3652 |
"\n -g Process group id(s)" \ |
"\n -g Process group id(s)" \ |
3653 |
"\n -u Process user name(s) and/or id(s)" \ |
"\n -u Process user name(s) and/or id(s)" \ |
3654 |
|
|
3655 |
|
#define scriptreplay_trivial_usage \ |
3656 |
|
"timingfile [typescript [divisor]]" |
3657 |
|
#define scriptreplay_full_usage "\n\n" \ |
3658 |
|
"Play back typescripts, using timing information" |
3659 |
|
|
3660 |
#define reset_trivial_usage \ |
#define reset_trivial_usage \ |
3661 |
"" |
"" |
3662 |
#define reset_full_usage "\n\n" \ |
#define reset_full_usage "\n\n" \ |
3671 |
"[-iFnrRv] [-e excludedir]... [-o filename] [-f filename | pathname]" |
"[-iFnrRv] [-e excludedir]... [-o filename] [-f filename | pathname]" |
3672 |
#define restorecon_full_usage "\n\n" \ |
#define restorecon_full_usage "\n\n" \ |
3673 |
"Reset security contexts of files in pathname\n" \ |
"Reset security contexts of files in pathname\n" \ |
3674 |
"\n -i Ignore files that do not exist" \ |
"\n -i Ignore files that don't exist" \ |
3675 |
"\n -f file File with list of files to process. Use - for stdin" \ |
"\n -f file File with list of files to process. Use - for stdin" \ |
3676 |
"\n -e directory Directory to exclude" \ |
"\n -e directory Directory to exclude" \ |
3677 |
"\n -R,-r Recurse directories" \ |
"\n -R,-r Recurse" \ |
3678 |
"\n -n Don't change any file labels" \ |
"\n -n Don't change any file labels" \ |
3679 |
"\n -o file Save list of files with incorrect context" \ |
"\n -o file Save list of files with incorrect context" \ |
3680 |
"\n -v Verbose" \ |
"\n -v Verbose" \ |
3684 |
"\n if it has changed" \ |
"\n if it has changed" \ |
3685 |
|
|
3686 |
#define rm_trivial_usage \ |
#define rm_trivial_usage \ |
3687 |
"[OPTION]... FILE..." |
"[OPTIONS] FILE..." |
3688 |
#define rm_full_usage "\n\n" \ |
#define rm_full_usage "\n\n" \ |
3689 |
"Remove (unlink) the FILE(s). Use '--' to\n" \ |
"Remove (unlink) FILEs\n" \ |
|
"indicate that all following arguments are non-options.\n" \ |
|
3690 |
"\nOptions:" \ |
"\nOptions:" \ |
3691 |
"\n -i Always prompt before removing" \ |
"\n -i Always prompt before removing" \ |
3692 |
"\n -f Never prompt" \ |
"\n -f Never prompt" \ |
3693 |
"\n -r,-R Remove directories recursively" \ |
"\n -R,-r Recurse" \ |
3694 |
|
|
3695 |
#define rm_example_usage \ |
#define rm_example_usage \ |
3696 |
"$ rm -rf /tmp/foo\n" |
"$ rm -rf /tmp/foo\n" |
3697 |
|
|
3698 |
#define rmdir_trivial_usage \ |
#define rmdir_trivial_usage \ |
3699 |
"[OPTION]... DIRECTORY..." |
"[OPTIONS] DIRECTORY..." |
3700 |
#define rmdir_full_usage "\n\n" \ |
#define rmdir_full_usage "\n\n" \ |
3701 |
"Remove the DIRECTORY, if it is empty.\n" \ |
"Remove DIRECTORY if it is empty\n" \ |
3702 |
"\nOptions:" \ |
"\nOptions:" \ |
3703 |
USE_FEATURE_RMDIR_LONG_OPTIONS( \ |
IF_FEATURE_RMDIR_LONG_OPTIONS( \ |
3704 |
"\n -p|--parents Include parents" \ |
"\n -p|--parents Include parents" \ |
3705 |
"\n -ignore-fail-on-non-empty" \ |
"\n --ignore-fail-on-non-empty" \ |
3706 |
) \ |
) \ |
3707 |
SKIP_FEATURE_RMDIR_LONG_OPTIONS( \ |
IF_NOT_FEATURE_RMDIR_LONG_OPTIONS( \ |
3708 |
"\n -p Include parents" \ |
"\n -p Include parents" \ |
3709 |
) |
) |
3710 |
|
|
3711 |
#define rmdir_example_usage \ |
#define rmdir_example_usage \ |
3712 |
"# rmdir /tmp/foo\n" |
"# rmdir /tmp/foo\n" |
3713 |
|
|
3714 |
#define rmmod_trivial_usage \ |
#define rmmod_trivial_usage \ |
3715 |
"[OPTION]... [MODULE]..." |
"[OPTIONS] [MODULE]..." |
3716 |
#define rmmod_full_usage "\n\n" \ |
#define rmmod_full_usage "\n\n" \ |
3717 |
"Unload the specified kernel modules from the kernel\n" \ |
"Unload the specified kernel modules from the kernel\n" \ |
3718 |
"\nOptions:" \ |
"\nOptions:" \ |
3730 |
"\nOptions:" \ |
"\nOptions:" \ |
3731 |
"\n -n Don't resolve names" \ |
"\n -n Don't resolve names" \ |
3732 |
"\n -e Display other/more information" \ |
"\n -e Display other/more information" \ |
3733 |
"\n -A inet" USE_FEATURE_IPV6("{6}") " Select address family" \ |
"\n -A inet" IF_FEATURE_IPV6("{6}") " Select address family" \ |
3734 |
|
|
3735 |
#define rpm_trivial_usage \ |
#define rpm_trivial_usage \ |
3736 |
"-i -q[ildc]p package.rpm" |
"-i -q[ildc]p PACKAGE.rpm" |
3737 |
#define rpm_full_usage "\n\n" \ |
#define rpm_full_usage "\n\n" \ |
3738 |
"Manipulate RPM packages\n" \ |
"Manipulate RPM packages\n" \ |
3739 |
"\nOptions:" \ |
"\nOptions:" \ |
3751 |
"Output a cpio archive of the rpm file" |
"Output a cpio archive of the rpm file" |
3752 |
|
|
3753 |
#define rtcwake_trivial_usage \ |
#define rtcwake_trivial_usage \ |
3754 |
"[-a | -l | -u] [-d DEV] [-m MODE] [-s SECS | -t TIME]" |
"[-a | -l | -u] [-d DEV] [-m MODE] [-s SEC | -t TIME]" |
3755 |
#define rtcwake_full_usage "\n\n" \ |
#define rtcwake_full_usage "\n\n" \ |
3756 |
"Enter a system sleep state until specified wakeup time\n" \ |
"Enter a system sleep state until specified wakeup time\n" \ |
3757 |
USE_GETOPT_LONG( \ |
IF_LONG_OPTS( \ |
3758 |
"\n -a,--auto Read clock mode from adjtime" \ |
"\n -a,--auto Read clock mode from adjtime" \ |
3759 |
"\n -l,--local Clock is set to local time" \ |
"\n -l,--local Clock is set to local time" \ |
3760 |
"\n -u,--utc Clock is set to UTC time" \ |
"\n -u,--utc Clock is set to UTC time" \ |
3761 |
"\n -d,--device=DEV Specify the RTC device" \ |
"\n -d,--device=DEV Specify the RTC device" \ |
3762 |
"\n -m,--mode=MODE Set the sleep state (default: standby)" \ |
"\n -m,--mode=MODE Set the sleep state (default: standby)" \ |
3763 |
"\n -s,--seconds=SEC Set the timeout in SEC seconds from now" \ |
"\n -s,--seconds=SEC Set the timeout in SEC seconds from now" \ |
3764 |
"\n -t,--time=TIME Set the timeout to TIME seconds from epoch" \ |
"\n -t,--time=TIME Set the timeout to TIME seconds from epoch" \ |
3765 |
) \ |
) \ |
3766 |
SKIP_GETOPT_LONG( \ |
IF_NOT_LONG_OPTS( \ |
3767 |
"\n -a Read clock mode from adjtime" \ |
"\n -a Read clock mode from adjtime" \ |
3768 |
"\n -l Clock is set to local time" \ |
"\n -l Clock is set to local time" \ |
3769 |
"\n -u Clock is set to UTC time" \ |
"\n -u Clock is set to UTC time" \ |
3774 |
) |
) |
3775 |
|
|
3776 |
#define runcon_trivial_usage \ |
#define runcon_trivial_usage \ |
3777 |
"[-c] [-u USER] [-r ROLE] [-t TYPE] [-l RANGE] COMMAND [args]\n" \ |
"[-c] [-u USER] [-r ROLE] [-t TYPE] [-l RANGE] PROG ARGS\n" \ |
3778 |
" runcon CONTEXT COMMAND [args]" |
" runcon CONTEXT PROG ARGS" |
3779 |
#define runcon_full_usage "\n\n" \ |
#define runcon_full_usage "\n\n" \ |
3780 |
"Run a program in a different security context\n" \ |
"Run PROG in a different security context\n" \ |
3781 |
"\n CONTEXT Complete security context\n" \ |
"\n CONTEXT Complete security context\n" \ |
3782 |
USE_FEATURE_RUNCON_LONG_OPTIONS( \ |
IF_FEATURE_RUNCON_LONG_OPTIONS( \ |
3783 |
"\n -c,--compute Compute process transition context before modifying" \ |
"\n -c,--compute Compute process transition context before modifying" \ |
3784 |
"\n -t,--type=TYPE Type (for same role as parent)" \ |
"\n -t,--type=TYPE Type (for same role as parent)" \ |
3785 |
"\n -u,--user=USER User identity" \ |
"\n -u,--user=USER User identity" \ |
3786 |
"\n -r,--role=ROLE Role" \ |
"\n -r,--role=ROLE Role" \ |
3787 |
"\n -l,--range=RNG Levelrange" \ |
"\n -l,--range=RNG Levelrange" \ |
3788 |
) \ |
) \ |
3789 |
SKIP_FEATURE_RUNCON_LONG_OPTIONS( \ |
IF_NOT_FEATURE_RUNCON_LONG_OPTIONS( \ |
3790 |
"\n -c Compute process transition context before modifying" \ |
"\n -c Compute process transition context before modifying" \ |
3791 |
"\n -t TYPE Type (for same role as parent)" \ |
"\n -t TYPE Type (for same role as parent)" \ |
3792 |
"\n -u USER User identity" \ |
"\n -u USER User identity" \ |
3795 |
) |
) |
3796 |
|
|
3797 |
#define run_parts_trivial_usage \ |
#define run_parts_trivial_usage \ |
3798 |
"[-t] "USE_FEATURE_RUN_PARTS_FANCY("[-l] ")"[-a ARG] [-u MASK] DIRECTORY" |
"[-t] "IF_FEATURE_RUN_PARTS_FANCY("[-l] ")"[-a ARG] [-u MASK] DIRECTORY" |
3799 |
#define run_parts_full_usage "\n\n" \ |
#define run_parts_full_usage "\n\n" \ |
3800 |
"Run a bunch of scripts in a directory\n" \ |
"Run a bunch of scripts in DIRECTORY\n" \ |
3801 |
"\nOptions:" \ |
"\nOptions:" \ |
3802 |
"\n -t Print what would be run, but don't actually run anything" \ |
"\n -t Print what would be run, but don't actually run anything" \ |
3803 |
"\n -a ARG Pass ARG as argument for every program" \ |
"\n -a ARG Pass ARG as argument for every program" \ |
3804 |
"\n -u MASK Set the umask to MASK before running every program" \ |
"\n -u MASK Set the umask to MASK before running every program" \ |
3805 |
USE_FEATURE_RUN_PARTS_FANCY( \ |
IF_FEATURE_RUN_PARTS_FANCY( \ |
3806 |
"\n -l Print names of all matching files even if they are not executable" \ |
"\n -l Print names of all matching files even if they are not executable" \ |
3807 |
) |
) |
3808 |
|
|
3821 |
"+ shutdown -h +4m" |
"+ shutdown -h +4m" |
3822 |
|
|
3823 |
#define runlevel_trivial_usage \ |
#define runlevel_trivial_usage \ |
3824 |
"[utmp]" |
"[FILE]" |
3825 |
#define runlevel_full_usage "\n\n" \ |
#define runlevel_full_usage "\n\n" \ |
3826 |
"Find the current and previous system runlevel.\n\n" \ |
"Find the current and previous system runlevel\n" \ |
3827 |
"If no utmp file exists or if no runlevel record can be found,\n" \ |
"\n" \ |
3828 |
|
"If no utmp FILE exists or if no runlevel record can be found,\n" \ |
3829 |
"print \"unknown\"" |
"print \"unknown\"" |
3830 |
#define runlevel_example_usage \ |
#define runlevel_example_usage \ |
3831 |
"$ runlevel /var/run/utmp\n" \ |
"$ runlevel /var/run/utmp\n" \ |
3832 |
"N 2" |
"N 2" |
3833 |
|
|
3834 |
#define runsv_trivial_usage \ |
#define runsv_trivial_usage \ |
3835 |
"dir" |
"DIR" |
3836 |
#define runsv_full_usage "\n\n" \ |
#define runsv_full_usage "\n\n" \ |
3837 |
"Start and monitor a service and optionally an appendant log service" |
"Start and monitor a service and optionally an appendant log service" |
3838 |
|
|
3839 |
#define runsvdir_trivial_usage \ |
#define runsvdir_trivial_usage \ |
3840 |
"[-P] [-s SCRIPT] dir" |
"[-P] [-s SCRIPT] DIR" |
3841 |
#define runsvdir_full_usage "\n\n" \ |
#define runsvdir_full_usage "\n\n" \ |
3842 |
"Start a runsv process for each subdirectory. If it exits, restart it.\n" \ |
"Start a runsv process for each subdirectory. If it exits, restart it.\n" \ |
3843 |
"\n -P Put each runsv in a new session" \ |
"\n -P Put each runsv in a new session" \ |
3851 |
"$ rx /tmp/foo\n" |
"$ rx /tmp/foo\n" |
3852 |
|
|
3853 |
#define script_trivial_usage \ |
#define script_trivial_usage \ |
3854 |
"[-afq] [-c COMMAND] [OUTFILE]" |
"[-afq" IF_SCRIPTREPLAY("t") "] [-c PROG] [OUTFILE]" |
3855 |
#define script_full_usage "\n\n" \ |
#define script_full_usage "\n\n" \ |
3856 |
"Options:" \ |
"Options:" \ |
3857 |
"\n -a Append output" \ |
"\n -a Append output" \ |
3858 |
"\n -c Run COMMAND, not shell" \ |
"\n -c Run PROG, not shell" \ |
3859 |
"\n -f Flush output after each write" \ |
"\n -f Flush output after each write" \ |
3860 |
"\n -q Quiet" \ |
"\n -q Quiet" \ |
3861 |
|
IF_SCRIPTREPLAY( \ |
3862 |
|
"\n -t Send timing to stderr" \ |
3863 |
|
) |
3864 |
|
|
3865 |
#define sed_trivial_usage \ |
#define sed_trivial_usage \ |
3866 |
"[-efinr] pattern [files...]" |
"[-efinr] SED_CMD [FILE]..." |
3867 |
#define sed_full_usage "\n\n" \ |
#define sed_full_usage "\n\n" \ |
3868 |
"Options:" \ |
"Options:" \ |
3869 |
"\n -e script Add the script to the commands to be executed" \ |
"\n -e CMD Add CMD to sed commands to be executed" \ |
3870 |
"\n -f scriptfile Add scriptfile contents to the" \ |
"\n -f FILE Add FILE contents to sed commands to be executed" \ |
3871 |
"\n commands to be executed" \ |
"\n -i Edit files in-place (else sends result to stdout)" \ |
3872 |
"\n -i Edit files in-place" \ |
"\n -n Suppress automatic printing of pattern space" \ |
3873 |
"\n -n Suppress automatic printing of pattern space" \ |
"\n -r Use extended regex syntax" \ |
|
"\n -r Use extended regular expression syntax" \ |
|
3874 |
"\n" \ |
"\n" \ |
3875 |
"\nIf no -e or -f is given, the first non-option argument is taken as the sed" \ |
"\nIf no -e or -f, the first non-option argument is the sed command string." \ |
3876 |
"\nscript to interpret. All remaining arguments are names of input files; if no" \ |
"\nRemaining arguments are input files (stdin if none)." |
|
"\ninput files are specified, then the standard input is read. Source files" \ |
|
|
"\nwill not be modified unless -i option is given." \ |
|
3877 |
|
|
3878 |
#define sed_example_usage \ |
#define sed_example_usage \ |
3879 |
"$ echo \"foo\" | sed -e 's/f[a-zA-Z]o/bar/g'\n" \ |
"$ echo \"foo\" | sed -e 's/f[a-zA-Z]o/bar/g'\n" \ |
3883 |
#define selinuxenabled_full_usage "" |
#define selinuxenabled_full_usage "" |
3884 |
|
|
3885 |
#define sendmail_trivial_usage \ |
#define sendmail_trivial_usage \ |
3886 |
"[OPTIONS] [rcpt]..." |
"[OPTIONS] [RECIPIENT_EMAIL]..." |
3887 |
#define sendmail_full_usage "\n\n" \ |
#define sendmail_full_usage "\n\n" \ |
3888 |
"Send an email\n" \ |
"Read email from stdin and send it\n" \ |
3889 |
"\nOptions:" \ |
"\nStandard options:" \ |
3890 |
"\n -w timeout Network timeout" \ |
"\n -t Read additional recipients from message body" \ |
3891 |
"\n -H [user:pass@]server[:port] Server" \ |
"\n -f sender Sender (required)" \ |
3892 |
"\n -S Use openssl connection helper for secure servers" \ |
"\n -o options Various options. -oi implied, others are ignored" \ |
3893 |
"\n -N type Request delivery notification. Type is ignored" \ |
"\n -i -oi synonym. implied and ignored" \ |
3894 |
"\n -f sender Sender" \ |
"\n" \ |
3895 |
"\n -F fullname Sender full name. Overrides $NAME" \ |
"\nBusybox specific options:" \ |
3896 |
USE_FEATURE_SENDMAIL_MAILX( \ |
"\n -w seconds Network timeout" \ |
3897 |
"\n -s subject Subject" \ |
"\n -H 'PROG ARGS' Run connection helper" \ |
3898 |
"\n -j charset Assume charset for body and subject (" CONFIG_FEATURE_MIME_CHARSET ")" \ |
"\n Examples:" \ |
3899 |
"\n -a file File to attach. May be multiple" \ |
"\n -H 'exec openssl s_client -quiet -tls1 -starttls smtp" \ |
3900 |
"\n -H \"prog args...\" Use external connection helper. E.g. openssl for secure servers" \ |
"\n -connect smtp.gmail.com:25' <email.txt" \ |
3901 |
|
"\n [4<username_and_passwd.txt | -au<username> -ap<password>]" \ |
3902 |
|
"\n -H 'exec openssl s_client -quiet -tls1" \ |
3903 |
|
"\n -connect smtp.gmail.com:465' <email.txt" \ |
3904 |
|
"\n [4<username_and_passwd.txt | -au<username> -ap<password>]" \ |
3905 |
"\n -S server[:port] Server" \ |
"\n -S server[:port] Server" \ |
3906 |
) \ |
"\n -au<username> Username for AUTH LOGIN" \ |
3907 |
USE_FEATURE_SENDMAIL_MAILXX( \ |
"\n -ap<password> Password for AUTH LOGIN" \ |
3908 |
"\n -c rcpt Cc: recipient. May be multiple" \ |
"\n -am<method> Authentication method. Ignored. LOGIN is implied" \ |
|
"\n -e rcpt Errors-To: recipient" \ |
|
|
) |
|
|
"\n -t Read recipients and subject from body" \ |
|
3909 |
"\n" \ |
"\n" \ |
3910 |
"\nOther options are silently ignored; -oi is implied" \ |
"\nOther options are silently ignored; -oi -t is implied" \ |
3911 |
|
IF_MAKEMIME( \ |
3912 |
|
"\nUse makemime applet to create message with attachments" \ |
3913 |
|
) |
3914 |
|
|
3915 |
#define seq_trivial_usage \ |
#define seq_trivial_usage \ |
3916 |
"[first [increment]] last" |
"[-w] [-s SEP] [FIRST [INC]] LAST" |
3917 |
#define seq_full_usage "\n\n" \ |
#define seq_full_usage "\n\n" \ |
3918 |
"Print numbers from FIRST to LAST, in steps of INCREMENT.\n" \ |
"Print numbers from FIRST to LAST, in steps of INC.\n" \ |
3919 |
"FIRST, INCREMENT default to 1\n" \ |
"FIRST, INC default to 1.\n" \ |
3920 |
"\nArguments:" \ |
"\nOptions:" \ |
3921 |
"\n LAST" \ |
"\n -w Pad to last with leading zeros" \ |
3922 |
"\n FIRST LAST" \ |
"\n -s SEP String separator" \ |
|
"\n FIRST INCREMENT LAST" \ |
|
3923 |
|
|
3924 |
#define sestatus_trivial_usage \ |
#define sestatus_trivial_usage \ |
3925 |
"[-vb]" |
"[-vb]" |
3928 |
"\n -b Display current state of booleans" \ |
"\n -b Display current state of booleans" \ |
3929 |
|
|
3930 |
#define setconsole_trivial_usage \ |
#define setconsole_trivial_usage \ |
3931 |
"[-r" USE_FEATURE_SETCONSOLE_LONG_OPTIONS("|--reset") "] [DEVICE]" |
"[-r" IF_FEATURE_SETCONSOLE_LONG_OPTIONS("|--reset") "] [DEVICE]" |
3932 |
#define setconsole_full_usage "\n\n" \ |
#define setconsole_full_usage "\n\n" \ |
3933 |
"Redirect system console output to DEVICE (default: /dev/tty)\n" \ |
"Redirect system console output to DEVICE (default: /dev/tty)\n" \ |
3934 |
"\nOptions:" \ |
"\nOptions:" \ |
3939 |
#define setenforce_full_usage "" |
#define setenforce_full_usage "" |
3940 |
|
|
3941 |
#define setfiles_trivial_usage \ |
#define setfiles_trivial_usage \ |
3942 |
"[-dnpqsvW] [-e dir]... [-o file] [-r alt_root_path]" \ |
"[-dnpqsvW] [-e DIR]... [-o FILE] [-r alt_root_path]" \ |
3943 |
USE_FEATURE_SETFILES_CHECK_OPTION( \ |
IF_FEATURE_SETFILES_CHECK_OPTION( \ |
3944 |
" [-c policyfile] spec_file" \ |
" [-c policyfile] spec_file" \ |
3945 |
) \ |
) \ |
3946 |
" pathname" |
" pathname" |
3947 |
#define setfiles_full_usage "\n\n" \ |
#define setfiles_full_usage "\n\n" \ |
3948 |
"Reset file contexts under pathname according to spec_file\n" \ |
"Reset file contexts under pathname according to spec_file\n" \ |
3949 |
USE_FEATURE_SETFILES_CHECK_OPTION( \ |
IF_FEATURE_SETFILES_CHECK_OPTION( \ |
3950 |
"\n -c file Check the validity of the contexts against the specified binary policy" \ |
"\n -c FILE Check the validity of the contexts against the specified binary policy" \ |
3951 |
) \ |
) \ |
3952 |
"\n -d Show which specification matched each file" \ |
"\n -d Show which specification matched each file" \ |
3953 |
"\n -l Log changes in file labels to syslog" \ |
"\n -l Log changes in file labels to syslog" \ |
3954 |
"\n -n Don't change any file labels" \ |
"\n -n Don't change any file labels" \ |
3955 |
"\n -q Suppress warnings" \ |
"\n -q Suppress warnings" \ |
3956 |
"\n -r dir Use an altenate root path" \ |
"\n -r DIR Use an alternate root path" \ |
3957 |
"\n -e dir Exclude directory" \ |
"\n -e DIR Exclude DIR" \ |
3958 |
"\n -F Force reset of context to match file_context for customizable files" \ |
"\n -F Force reset of context to match file_context for customizable files" \ |
3959 |
"\n -o file Save list of files with incorrect context" \ |
"\n -o FILE Save list of files with incorrect context" \ |
3960 |
"\n -s Take a list of files from standard input (instead of command line)" \ |
"\n -s Take a list of files from stdin (instead of command line)" \ |
3961 |
"\n -v Show changes in file labels, if type or role are changing" \ |
"\n -v Show changes in file labels, if type or role are changing" \ |
3962 |
"\n -vv Show changes in file labels, if type, role, or user are changing" \ |
"\n -vv Show changes in file labels, if type, role, or user are changing" \ |
3963 |
"\n -W Display warnings about entries that had no matching files" \ |
"\n -W Display warnings about entries that had no matching files" \ |
3979 |
"Set entries into the kernel's scancode-to-keycode map,\n" \ |
"Set entries into the kernel's scancode-to-keycode map,\n" \ |
3980 |
"allowing unusual keyboards to generate usable keycodes.\n\n" \ |
"allowing unusual keyboards to generate usable keycodes.\n\n" \ |
3981 |
"SCANCODE may be either xx or e0xx (hexadecimal),\n" \ |
"SCANCODE may be either xx or e0xx (hexadecimal),\n" \ |
3982 |
"and KEYCODE is given in decimal" \ |
"and KEYCODE is given in decimal." \ |
3983 |
|
|
3984 |
#define setkeycodes_example_usage \ |
#define setkeycodes_example_usage \ |
3985 |
"$ setkeycodes e030 127\n" |
"$ setkeycodes e030 127\n" |
3996 |
"Change boolean setting" |
"Change boolean setting" |
3997 |
|
|
3998 |
#define setsid_trivial_usage \ |
#define setsid_trivial_usage \ |
3999 |
"PROG [ARG...]" |
"PROG ARGS" |
4000 |
#define setsid_full_usage "\n\n" \ |
#define setsid_full_usage "\n\n" \ |
4001 |
"Run PROG in a new session. PROG will have no controlling terminal\n" \ |
"Run PROG in a new session. PROG will have no controlling terminal\n" \ |
4002 |
"and will not be affected by keyboard signals (Ctrl-C etc).\n" \ |
"and will not be affected by keyboard signals (Ctrl-C etc).\n" \ |
4003 |
"See setsid(2) for details." \ |
"See setsid(2) for details." \ |
4004 |
|
|
|
#define lash_trivial_usage \ |
|
|
"[FILE]...\n" \ |
|
|
"or: sh -c command [args]..." |
|
|
#define lash_full_usage "\n\n" \ |
|
|
"lash is deprecated, please use hush" |
|
|
|
|
4005 |
#define last_trivial_usage \ |
#define last_trivial_usage \ |
4006 |
""USE_FEATURE_LAST_FANCY("[-HW] [-f file]") |
""IF_FEATURE_LAST_FANCY("[-HW] [-f file]") |
4007 |
#define last_full_usage "\n\n" \ |
#define last_full_usage "\n\n" \ |
4008 |
"Show listing of the last users that logged into the system" \ |
"Show listing of the last users that logged into the system" \ |
4009 |
USE_FEATURE_LAST_FANCY( "\n" \ |
IF_FEATURE_LAST_FANCY( "\n" \ |
4010 |
"\nOptions:" \ |
"\nOptions:" \ |
4011 |
/* "\n -H Show header line" */ \ |
/* "\n -H Show header line" */ \ |
4012 |
"\n -W Display with no host column truncation" \ |
"\n -W Display with no host column truncation" \ |
4013 |
"\n -f file Read from file instead of /var/log/wtmp" \ |
"\n -f file Read from file instead of /var/log/wtmp" \ |
4014 |
) |
) |
4015 |
|
|
|
#define sha1sum_trivial_usage \ |
|
|
"[OPTION] [FILEs...]" \ |
|
|
USE_FEATURE_MD5_SHA1_SUM_CHECK("\n or: sha1sum [OPTION] -c [FILE]") |
|
|
#define sha1sum_full_usage "\n\n" \ |
|
|
"Print" USE_FEATURE_MD5_SHA1_SUM_CHECK(" or check") " SHA1 checksums." \ |
|
|
USE_FEATURE_MD5_SHA1_SUM_CHECK( "\n" \ |
|
|
"\nOptions:" \ |
|
|
"\n -c Check SHA1 sums against given list" \ |
|
|
"\n -s Don't output anything, status code shows success" \ |
|
|
"\n -w Warn about improperly formatted SHA1 checksum lines" \ |
|
|
) |
|
|
|
|
4016 |
#define showkey_trivial_usage \ |
#define showkey_trivial_usage \ |
4017 |
"[-a | -k | -s]" |
"[-a | -k | -s]" |
4018 |
#define showkey_full_usage "\n\n" \ |
#define showkey_full_usage "\n\n" \ |
4023 |
"\n -s Display raw scan-codes" \ |
"\n -s Display raw scan-codes" \ |
4024 |
|
|
4025 |
#define slattach_trivial_usage \ |
#define slattach_trivial_usage \ |
4026 |
"[-cehmLF] [-s speed] [-p protocol] DEVICEs" |
"[-cehmLF] [-s SPEED] [-p PROTOCOL] DEVICE" |
4027 |
#define slattach_full_usage "\n\n" \ |
#define slattach_full_usage "\n\n" \ |
4028 |
"Attach network interface(s) to serial line(s)\n" \ |
"Attach network interface(s) to serial line(s)\n" \ |
4029 |
"\nOptions:" \ |
"\nOptions:" \ |
4030 |
"\n -p Set protocol (slip, cslip, slip6, clisp6 or adaptive)" \ |
"\n -p PROT Set protocol (slip, cslip, slip6, clisp6 or adaptive)" \ |
4031 |
"\n -s Set line speed" \ |
"\n -s SPD Set line speed" \ |
4032 |
"\n -e Exit after initializing device" \ |
"\n -e Exit after initializing device" \ |
4033 |
"\n -h Exit when the carrier is lost" \ |
"\n -h Exit when the carrier is lost" \ |
4034 |
"\n -c Execute a command when the line is hung up" \ |
"\n -c PROG Run PROG when the line is hung up" \ |
4035 |
"\n -m Do NOT initialize the line in raw 8 bits mode" \ |
"\n -m Do NOT initialize the line in raw 8 bits mode" \ |
4036 |
"\n -L Enable 3-wire operation" \ |
"\n -L Enable 3-wire operation" \ |
4037 |
"\n -F Disable RTS/CTS flow control" \ |
"\n -F Disable RTS/CTS flow control" \ |
4038 |
|
|
4039 |
#define sleep_trivial_usage \ |
#define sleep_trivial_usage \ |
4040 |
USE_FEATURE_FANCY_SLEEP("[") "N" USE_FEATURE_FANCY_SLEEP("]...") |
IF_FEATURE_FANCY_SLEEP("[") "N" IF_FEATURE_FANCY_SLEEP("]...") |
4041 |
#define sleep_full_usage "\n\n" \ |
#define sleep_full_usage "\n\n" \ |
4042 |
SKIP_FEATURE_FANCY_SLEEP("Pause for N seconds") \ |
IF_NOT_FEATURE_FANCY_SLEEP("Pause for N seconds") \ |
4043 |
USE_FEATURE_FANCY_SLEEP( \ |
IF_FEATURE_FANCY_SLEEP( \ |
4044 |
"Pause for a time equal to the total of the args given, where each arg can\n" \ |
"Pause for a time equal to the total of the args given, where each arg can\n" \ |
4045 |
"have an optional suffix of (s)econds, (m)inutes, (h)ours, or (d)ays") |
"have an optional suffix of (s)econds, (m)inutes, (h)ours, or (d)ays") |
4046 |
#define sleep_example_usage \ |
#define sleep_example_usage \ |
4047 |
"$ sleep 2\n" \ |
"$ sleep 2\n" \ |
4048 |
"[2 second delay results]\n" \ |
"[2 second delay results]\n" \ |
4049 |
USE_FEATURE_FANCY_SLEEP( \ |
IF_FEATURE_FANCY_SLEEP( \ |
4050 |
"$ sleep 1d 3h 22m 8s\n" \ |
"$ sleep 1d 3h 22m 8s\n" \ |
4051 |
"[98528 second delay results]\n") |
"[98528 second delay results]\n") |
4052 |
|
|
4053 |
#define sort_trivial_usage \ |
#define sort_trivial_usage \ |
4054 |
"[-nru" \ |
"[-nru" \ |
4055 |
USE_FEATURE_SORT_BIG("gMcszbdfimSTokt] [-o FILE] [-k start[.offset][opts][,end[.offset][opts]] [-t CHAR") \ |
IF_FEATURE_SORT_BIG("gMcszbdfimSTokt] [-o FILE] [-k start[.offset][opts][,end[.offset][opts]] [-t CHAR") \ |
4056 |
"] [FILE]..." |
"] [FILE]..." |
4057 |
#define sort_full_usage "\n\n" \ |
#define sort_full_usage "\n\n" \ |
4058 |
"Sort lines of text\n" \ |
"Sort lines of text\n" \ |
4059 |
"\nOptions:" \ |
"\nOptions:" \ |
4060 |
USE_FEATURE_SORT_BIG( \ |
IF_FEATURE_SORT_BIG( \ |
4061 |
"\n -b Ignore leading blanks" \ |
"\n -b Ignore leading blanks" \ |
4062 |
"\n -c Check whether input is sorted" \ |
"\n -c Check whether input is sorted" \ |
4063 |
"\n -d Dictionary order (blank or alphanumeric only)" \ |
"\n -d Dictionary order (blank or alphanumeric only)" \ |
4068 |
"\n -M Sort month" \ |
"\n -M Sort month" \ |
4069 |
) \ |
) \ |
4070 |
"\n -n Sort numbers" \ |
"\n -n Sort numbers" \ |
4071 |
USE_FEATURE_SORT_BIG( \ |
IF_FEATURE_SORT_BIG( \ |
4072 |
"\n -o Output to file" \ |
"\n -o Output to file" \ |
4073 |
"\n -k Sort by key" \ |
"\n -k Sort by key" \ |
4074 |
"\n -t CHAR Key separator" \ |
"\n -t CHAR Key separator" \ |
4075 |
) \ |
) \ |
4076 |
"\n -r Reverse sort order" \ |
"\n -r Reverse sort order" \ |
4077 |
USE_FEATURE_SORT_BIG( \ |
IF_FEATURE_SORT_BIG( \ |
4078 |
"\n -s Stable (don't sort ties alphabetically)" \ |
"\n -s Stable (don't sort ties alphabetically)" \ |
4079 |
) \ |
) \ |
4080 |
"\n -u Suppress duplicate lines" \ |
"\n -u Suppress duplicate lines" \ |
4081 |
USE_FEATURE_SORT_BIG( \ |
IF_FEATURE_SORT_BIG( \ |
4082 |
"\n -z Lines are terminated by NUL, not newline" \ |
"\n -z Lines are terminated by NUL, not newline" \ |
4083 |
"\n -mST Ignored for GNU compatibility") \ |
"\n -mST Ignored for GNU compatibility") \ |
4084 |
|
|
4090 |
"d\n" \ |
"d\n" \ |
4091 |
"e\n" \ |
"e\n" \ |
4092 |
"f\n" \ |
"f\n" \ |
4093 |
USE_FEATURE_SORT_BIG( \ |
IF_FEATURE_SORT_BIG( \ |
4094 |
"$ echo -e \"c 3\\nb 2\\nd 2\" | $SORT -k 2,2n -k 1,1r\n" \ |
"$ echo -e \"c 3\\nb 2\\nd 2\" | $SORT -k 2,2n -k 1,1r\n" \ |
4095 |
"d 2\n" \ |
"d 2\n" \ |
4096 |
"b 2\n" \ |
"b 2\n" \ |
4099 |
"" |
"" |
4100 |
|
|
4101 |
#define split_trivial_usage \ |
#define split_trivial_usage \ |
4102 |
"[OPTION] [INPUT [PREFIX]]" |
"[OPTIONS] [INPUT [PREFIX]]" |
4103 |
#define split_full_usage "\n\n" \ |
#define split_full_usage "\n\n" \ |
4104 |
"Options:" \ |
"Options:" \ |
4105 |
"\n -b n[k|m] Split by bytes" \ |
"\n -b n[k|m] Split by bytes" \ |
4111 |
"$ cat TODO | split -a 2 -l 2 TODO_\n" |
"$ cat TODO | split -a 2 -l 2 TODO_\n" |
4112 |
|
|
4113 |
#define start_stop_daemon_trivial_usage \ |
#define start_stop_daemon_trivial_usage \ |
4114 |
"[OPTIONS] [-S|-K] ... [-- arguments...]" |
"[OPTIONS] [-S|-K] ... [-- ARGS...]" |
4115 |
#define start_stop_daemon_full_usage "\n\n" \ |
#define start_stop_daemon_full_usage "\n\n" \ |
4116 |
"Search for matching processes, and then\n" \ |
"Search for matching processes, and then\n" \ |
4117 |
"-K: stop all matching processes.\n" \ |
"-K: stop all matching processes.\n" \ |
4118 |
"-S: start a process unless a matching process is found.\n" \ |
"-S: start a process unless a matching process is found.\n" \ |
4119 |
USE_FEATURE_START_STOP_DAEMON_LONG_OPTIONS( \ |
IF_FEATURE_START_STOP_DAEMON_LONG_OPTIONS( \ |
4120 |
"\nProcess matching:" \ |
"\nProcess matching:" \ |
4121 |
"\n -u,--user USERNAME|UID Match only this user's processes" \ |
"\n -u,--user USERNAME|UID Match only this user's processes" \ |
4122 |
"\n -n,--name NAME Match processes with NAME" \ |
"\n -n,--name NAME Match processes with NAME" \ |
4129 |
"\n -x,--exec EXECUTABLE Program to run" \ |
"\n -x,--exec EXECUTABLE Program to run" \ |
4130 |
"\n -a,--startas NAME Zeroth argument" \ |
"\n -a,--startas NAME Zeroth argument" \ |
4131 |
"\n -b,--background Background" \ |
"\n -b,--background Background" \ |
4132 |
USE_FEATURE_START_STOP_DAEMON_FANCY( \ |
IF_FEATURE_START_STOP_DAEMON_FANCY( \ |
4133 |
"\n -N,--nicelevel N Change nice level" \ |
"\n -N,--nicelevel N Change nice level" \ |
4134 |
) \ |
) \ |
4135 |
"\n -c,--chuid USER[:[GRP]] Change to user/group" \ |
"\n -c,--chuid USER[:[GRP]] Change to user/group" \ |
4138 |
"\n -s,--signal SIG Signal to send" \ |
"\n -s,--signal SIG Signal to send" \ |
4139 |
"\n -t,--test Match only, exit with 0 if a process is found" \ |
"\n -t,--test Match only, exit with 0 if a process is found" \ |
4140 |
"\nOther:" \ |
"\nOther:" \ |
4141 |
USE_FEATURE_START_STOP_DAEMON_FANCY( \ |
IF_FEATURE_START_STOP_DAEMON_FANCY( \ |
4142 |
"\n -o,--oknodo Exit with status 0 if nothing is done" \ |
"\n -o,--oknodo Exit with status 0 if nothing is done" \ |
4143 |
"\n -v,--verbose Verbose" \ |
"\n -v,--verbose Verbose" \ |
4144 |
) \ |
) \ |
4145 |
"\n -q,--quiet Quiet" \ |
"\n -q,--quiet Quiet" \ |
4146 |
) \ |
) \ |
4147 |
SKIP_FEATURE_START_STOP_DAEMON_LONG_OPTIONS( \ |
IF_NOT_FEATURE_START_STOP_DAEMON_LONG_OPTIONS( \ |
4148 |
"\nProcess matching:" \ |
"\nProcess matching:" \ |
4149 |
"\n -u USERNAME|UID Match only this user's processes" \ |
"\n -u USERNAME|UID Match only this user's processes" \ |
4150 |
"\n -n NAME Match processes with NAME" \ |
"\n -n NAME Match processes with NAME" \ |
4157 |
"\n -x EXECUTABLE Program to run" \ |
"\n -x EXECUTABLE Program to run" \ |
4158 |
"\n -a NAME Zeroth argument" \ |
"\n -a NAME Zeroth argument" \ |
4159 |
"\n -b Background" \ |
"\n -b Background" \ |
4160 |
USE_FEATURE_START_STOP_DAEMON_FANCY( \ |
IF_FEATURE_START_STOP_DAEMON_FANCY( \ |
4161 |
"\n -N N Change nice level" \ |
"\n -N N Change nice level" \ |
4162 |
) \ |
) \ |
4163 |
"\n -c USER[:[GRP]] Change to user/group" \ |
"\n -c USER[:[GRP]] Change to user/group" \ |
4166 |
"\n -s SIG Signal to send" \ |
"\n -s SIG Signal to send" \ |
4167 |
"\n -t Match only, exit with 0 if a process is found" \ |
"\n -t Match only, exit with 0 if a process is found" \ |
4168 |
"\nOther:" \ |
"\nOther:" \ |
4169 |
USE_FEATURE_START_STOP_DAEMON_FANCY( \ |
IF_FEATURE_START_STOP_DAEMON_FANCY( \ |
4170 |
"\n -o Exit with status 0 if nothing is done" \ |
"\n -o Exit with status 0 if nothing is done" \ |
4171 |
"\n -v Verbose" \ |
"\n -v Verbose" \ |
4172 |
) \ |
) \ |
4174 |
) \ |
) \ |
4175 |
|
|
4176 |
#define stat_trivial_usage \ |
#define stat_trivial_usage \ |
4177 |
"[OPTION] FILE..." |
"[OPTIONS] FILE..." |
4178 |
#define stat_full_usage "\n\n" \ |
#define stat_full_usage "\n\n" \ |
4179 |
"Display file (default) or filesystem status\n" \ |
"Display file (default) or filesystem status\n" \ |
4180 |
"\nOptions:" \ |
"\nOptions:" \ |
4181 |
USE_FEATURE_STAT_FORMAT( \ |
IF_FEATURE_STAT_FORMAT( \ |
4182 |
"\n -c fmt Use the specified format" \ |
"\n -c fmt Use the specified format" \ |
4183 |
) \ |
) \ |
4184 |
"\n -f Display filesystem status" \ |
"\n -f Display filesystem status" \ |
4185 |
"\n -L Dereference links" \ |
"\n -L Follow links" \ |
4186 |
"\n -t Display info in terse form" \ |
"\n -t Display info in terse form" \ |
4187 |
USE_SELINUX( \ |
IF_SELINUX( \ |
4188 |
"\n -Z Print security context" \ |
"\n -Z Print security context" \ |
4189 |
) \ |
) \ |
4190 |
USE_FEATURE_STAT_FORMAT( \ |
IF_FEATURE_STAT_FORMAT( \ |
4191 |
"\n\nValid format sequences for files:\n" \ |
"\n\nValid format sequences for files:\n" \ |
4192 |
" %a Access rights in octal\n" \ |
" %a Access rights in octal\n" \ |
4193 |
" %A Access rights in human readable form\n" \ |
" %A Access rights in human readable form\n" \ |
4202 |
" %h Number of hard links\n" \ |
" %h Number of hard links\n" \ |
4203 |
" %i Inode number\n" \ |
" %i Inode number\n" \ |
4204 |
" %n File name\n" \ |
" %n File name\n" \ |
4205 |
" %N Quoted file name with dereference if symlink\n" \ |
" %N File name, with -> TARGET if symlink\n" \ |
4206 |
" %o I/O block size\n" \ |
" %o I/O block size\n" \ |
4207 |
" %s Total size, in bytes\n" \ |
" %s Total size, in bytes\n" \ |
4208 |
" %t Major device type in hex\n" \ |
" %t Major device type in hex\n" \ |
4221 |
" %c Total file nodes in file system\n" \ |
" %c Total file nodes in file system\n" \ |
4222 |
" %d Free file nodes in file system\n" \ |
" %d Free file nodes in file system\n" \ |
4223 |
" %f Free blocks in file system\n" \ |
" %f Free blocks in file system\n" \ |
4224 |
USE_SELINUX( \ |
IF_SELINUX( \ |
4225 |
" %C Security context in SELinux\n" \ |
" %C Security context in SELinux\n" \ |
4226 |
) \ |
) \ |
4227 |
" %i File System ID in hex\n" \ |
" %i File System ID in hex\n" \ |
4234 |
) \ |
) \ |
4235 |
|
|
4236 |
#define strings_trivial_usage \ |
#define strings_trivial_usage \ |
4237 |
"[-afo] [-n length] [file...]" |
"[-afo] [-n LEN] [FILE]..." |
4238 |
#define strings_full_usage "\n\n" \ |
#define strings_full_usage "\n\n" \ |
4239 |
"Display printable strings in a binary file\n" \ |
"Display printable strings in a binary file\n" \ |
4240 |
"\nOptions:" \ |
"\nOptions:" \ |
4241 |
"\n -a Scan whole file (default)" \ |
"\n -a Scan whole file (default)" \ |
4242 |
"\n -f Precede strings with filenames" \ |
"\n -f Precede strings with filenames" \ |
4243 |
"\n -n N At least N characters form a string (default 4)" \ |
"\n -n LEN At least LEN characters form a string (default 4)" \ |
4244 |
"\n -o Precede strings with decimal offsets" \ |
"\n -o Precede strings with decimal offsets" \ |
4245 |
|
|
4246 |
#define stty_trivial_usage \ |
#define stty_trivial_usage \ |
4255 |
"\n [SETTING] See manpage" \ |
"\n [SETTING] See manpage" \ |
4256 |
|
|
4257 |
#define su_trivial_usage \ |
#define su_trivial_usage \ |
4258 |
"[OPTION]... [-] [username]" |
"[OPTIONS] [-] [USERNAME]" |
4259 |
#define su_full_usage "\n\n" \ |
#define su_full_usage "\n\n" \ |
4260 |
"Change user id or become root\n" \ |
"Change user id or become root\n" \ |
4261 |
"\nOptions:" \ |
"\nOptions:" \ |
4262 |
"\n -p, -m Preserve environment" \ |
"\n -p,-m Preserve environment" \ |
4263 |
"\n -c Command to pass to 'sh -c'" \ |
"\n -c CMD Command to pass to 'sh -c'" \ |
4264 |
"\n -s Shell to use instead of default shell" \ |
"\n -s SH Shell to use instead of default shell" \ |
4265 |
|
|
4266 |
#define sulogin_trivial_usage \ |
#define sulogin_trivial_usage \ |
4267 |
"[OPTION]... [tty-device]" |
"[-t N] [TTY]" |
4268 |
#define sulogin_full_usage "\n\n" \ |
#define sulogin_full_usage "\n\n" \ |
4269 |
"Single user login\n" \ |
"Single user login\n" \ |
4270 |
"\nOptions:" \ |
"\nOptions:" \ |
4271 |
"\n -t Timeout" \ |
"\n -t N Timeout" \ |
4272 |
|
|
4273 |
#define sum_trivial_usage \ |
#define sum_trivial_usage \ |
4274 |
"[rs] [files...]" |
"[-rs] [FILE]..." |
4275 |
#define sum_full_usage "\n\n" \ |
#define sum_full_usage "\n\n" \ |
4276 |
"Checksum and count the blocks in a file\n" \ |
"Checksum and count the blocks in a file\n" \ |
4277 |
"\nOptions:" \ |
"\nOptions:" \ |
4279 |
"\n -s Use System V sum algorithm (512byte blocks)" \ |
"\n -s Use System V sum algorithm (512byte blocks)" \ |
4280 |
|
|
4281 |
#define sv_trivial_usage \ |
#define sv_trivial_usage \ |
4282 |
"[-v] [-w sec] command service..." |
"[-v] [-w SEC] CMD SERVICE_DIR..." |
4283 |
#define sv_full_usage "\n\n" \ |
#define sv_full_usage "\n\n" \ |
4284 |
"Control services monitored by runsv supervisor.\n" \ |
"Control services monitored by runsv supervisor.\n" \ |
4285 |
"Commands (only first character is enough):\n" \ |
"Commands (only first character is enough):\n" \ |
4288 |
"up: if service isn't running, start it. If service stops, restart it\n" \ |
"up: if service isn't running, start it. If service stops, restart it\n" \ |
4289 |
"once: like 'up', but if service stops, don't restart it\n" \ |
"once: like 'up', but if service stops, don't restart it\n" \ |
4290 |
"down: send TERM and CONT signals. If ./run exits, start ./finish\n" \ |
"down: send TERM and CONT signals. If ./run exits, start ./finish\n" \ |
4291 |
" if it exists. After it stops, do not restart service\n" \ |
" if it exists. After it stops, don't restart service\n" \ |
4292 |
"exit: send TERM and CONT signals to service and log service. If they exit,\n" \ |
"exit: send TERM and CONT signals to service and log service. If they exit,\n" \ |
4293 |
" runsv exits too\n" \ |
" runsv exits too\n" \ |
4294 |
"pause, cont, hup, alarm, interrupt, quit, 1, 2, term, kill: send\n" \ |
"pause, cont, hup, alarm, interrupt, quit, 1, 2, term, kill: send\n" \ |
4297 |
#define svlogd_trivial_usage \ |
#define svlogd_trivial_usage \ |
4298 |
"[-ttv] [-r c] [-R abc] [-l len] [-b buflen] dir..." |
"[-ttv] [-r c] [-R abc] [-l len] [-b buflen] dir..." |
4299 |
#define svlogd_full_usage "\n\n" \ |
#define svlogd_full_usage "\n\n" \ |
4300 |
"Continuously read log data from standard input, optionally " \ |
"Continuously read log data from stdin, optionally\n" \ |
4301 |
"filter log messages, and write the data to one or more automatically " \ |
"filter log messages, and write the data to one or more automatically\n" \ |
4302 |
"rotated logs" \ |
"rotated logs" \ |
4303 |
|
|
4304 |
#define swapoff_trivial_usage \ |
#define swapoff_trivial_usage \ |
4309 |
"\n -a Stop swapping on all swap devices" \ |
"\n -a Stop swapping on all swap devices" \ |
4310 |
|
|
4311 |
#define swapon_trivial_usage \ |
#define swapon_trivial_usage \ |
4312 |
"[-a]" USE_FEATURE_SWAPON_PRI(" [-p pri]") " [DEVICE]" |
"[-a]" IF_FEATURE_SWAPON_PRI(" [-p PRI]") " [DEVICE]" |
4313 |
#define swapon_full_usage "\n\n" \ |
#define swapon_full_usage "\n\n" \ |
4314 |
"Start swapping on DEVICE\n" \ |
"Start swapping on DEVICE\n" \ |
4315 |
"\nOptions:" \ |
"\nOptions:" \ |
4316 |
"\n -a Start swapping on all swap devices" \ |
"\n -a Start swapping on all swap devices" \ |
4317 |
USE_FEATURE_SWAPON_PRI( \ |
IF_FEATURE_SWAPON_PRI( \ |
4318 |
"\n -p pri Set swap device priority" \ |
"\n -p PRI Set swap device priority" \ |
4319 |
) \ |
) \ |
4320 |
|
|
4321 |
#define switch_root_trivial_usage \ |
#define switch_root_trivial_usage \ |
4322 |
"[-c /dev/console] NEW_ROOT NEW_INIT [ARGUMENTS_TO_INIT]" |
"[-c /dev/console] NEW_ROOT NEW_INIT [ARGS]" |
4323 |
#define switch_root_full_usage "\n\n" \ |
#define switch_root_full_usage "\n\n" \ |
4324 |
"Use from PID 1 under initramfs to free initramfs, chroot to NEW_ROOT,\n" \ |
"Free initramfs and switch to another root fs:\n" \ |
4325 |
"and exec NEW_INIT\n" \ |
"chroot to NEW_ROOT, delete all in /, move NEW_ROOT to /,\n" \ |
4326 |
|
"execute NEW_INIT. PID must be 1. NEW_ROOT must be a mountpoint.\n" \ |
4327 |
"\nOptions:" \ |
"\nOptions:" \ |
4328 |
"\n -c Redirect console to device on new root" \ |
"\n -c DEV Reopen stdio to DEV after switch" \ |
4329 |
|
|
4330 |
#define sync_trivial_usage \ |
#define sync_trivial_usage \ |
4331 |
"" |
"" |
4332 |
#define sync_full_usage "\n\n" \ |
#define sync_full_usage "\n\n" \ |
4333 |
"Write all buffered filesystem blocks to disk" |
"Write all buffered blocks to disk" |
4334 |
|
|
4335 |
|
#define fsync_trivial_usage \ |
4336 |
|
"[OPTIONS] FILE..." |
4337 |
|
#define fsync_full_usage "\n\n" \ |
4338 |
|
"Write files' buffered blocks to disk\n" \ |
4339 |
|
"\nOptions:" \ |
4340 |
|
"\n -d Avoid syncing metadata" |
4341 |
|
|
4342 |
#define sysctl_trivial_usage \ |
#define sysctl_trivial_usage \ |
4343 |
"[OPTIONS]... [VALUE]..." |
"[OPTIONS] [VALUE]..." |
4344 |
#define sysctl_full_usage "\n\n" \ |
#define sysctl_full_usage "\n\n" \ |
4345 |
"Configure kernel parameters at runtime\n" \ |
"Configure kernel parameters at runtime\n" \ |
4346 |
"\nOptions:" \ |
"\nOptions:" \ |
4347 |
"\n -n Disable printing of key names" \ |
"\n -n Don't print key names" \ |
4348 |
"\n -e Don't warn about unknown keys" \ |
"\n -e Don't warn about unknown keys" \ |
4349 |
"\n -w Change sysctl setting" \ |
"\n -w Change sysctl setting" \ |
4350 |
"\n -p FILE Load sysctl settings from FILE (default /etc/sysctl.conf)" \ |
"\n -p FILE Load sysctl settings from FILE (default /etc/sysctl.conf)" \ |
4359 |
"sysctl [-n] [-e] -A\n" |
"sysctl [-n] [-e] -A\n" |
4360 |
|
|
4361 |
#define syslogd_trivial_usage \ |
#define syslogd_trivial_usage \ |
4362 |
"[OPTION]..." |
"[OPTIONS]" |
4363 |
#define syslogd_full_usage "\n\n" \ |
#define syslogd_full_usage "\n\n" \ |
4364 |
"System logging utility.\n" \ |
"System logging utility.\n" \ |
4365 |
"Note that this version of syslogd ignores /etc/syslog.conf.\n" \ |
"This version of syslogd ignores /etc/syslog.conf\n" \ |
4366 |
"\nOptions:" \ |
"\nOptions:" \ |
4367 |
"\n -n Run in foreground" \ |
"\n -n Run in foreground" \ |
4368 |
"\n -O FILE Log to given file (default=/var/log/messages)" \ |
"\n -O FILE Log to given file (default:/var/log/messages)" \ |
4369 |
"\n -l n Set local log level" \ |
"\n -l N Set local log level" \ |
4370 |
"\n -S Smaller logging output" \ |
"\n -S Smaller logging output" \ |
4371 |
USE_FEATURE_ROTATE_LOGFILE( \ |
IF_FEATURE_ROTATE_LOGFILE( \ |
4372 |
"\n -s SIZE Max size (KB) before rotate (default=200KB, 0=off)" \ |
"\n -s SIZE Max size (KB) before rotate (default:200KB, 0=off)" \ |
4373 |
"\n -b NUM Number of rotated logs to keep (default=1, max=99, 0=purge)") \ |
"\n -b N N rotated logs to keep (default:1, max=99, 0=purge)") \ |
4374 |
USE_FEATURE_REMOTE_LOG( \ |
IF_FEATURE_REMOTE_LOG( \ |
4375 |
"\n -R HOST[:PORT] Log to IP or hostname on PORT (default PORT=514/UDP)" \ |
"\n -R HOST[:PORT] Log to IP or hostname on PORT (default PORT=514/UDP)" \ |
4376 |
"\n -L Log locally and via network (default is network only if -R)") \ |
"\n -L Log locally and via network (default is network only if -R)") \ |
4377 |
USE_FEATURE_SYSLOGD_DUP( \ |
IF_FEATURE_SYSLOGD_DUP( \ |
4378 |
"\n -D Drop duplicates") \ |
"\n -D Drop duplicates") \ |
4379 |
USE_FEATURE_IPC_SYSLOG( \ |
IF_FEATURE_IPC_SYSLOG( \ |
4380 |
"\n -C[size(KiB)] Log to shared mem buffer (read it using logread)") \ |
"\n -C[size(KiB)] Log to shared mem buffer (read it using logread)") \ |
4381 |
/* NB: -Csize shouldn't have space (because size is optional) */ |
/* NB: -Csize shouldn't have space (because size is optional) */ |
4382 |
/* "\n -m MIN Minutes between MARK lines (default=20, 0=off)" */ |
/* "\n -m MIN Minutes between MARK lines (default:20, 0=off)" */ |
4383 |
|
|
4384 |
#define syslogd_example_usage \ |
#define syslogd_example_usage \ |
4385 |
"$ syslogd -R masterlog:514\n" \ |
"$ syslogd -R masterlog:514\n" \ |
4388 |
#define tac_trivial_usage \ |
#define tac_trivial_usage \ |
4389 |
"[FILE]..." |
"[FILE]..." |
4390 |
#define tac_full_usage "\n\n" \ |
#define tac_full_usage "\n\n" \ |
4391 |
"Concatenate FILE(s) and print them in reverse" |
"Concatenate FILEs and print them in reverse" |
4392 |
|
|
4393 |
#define tail_trivial_usage \ |
#define tail_trivial_usage \ |
4394 |
"[OPTION]... [FILE]..." |
"[OPTIONS] [FILE]..." |
4395 |
#define tail_full_usage "\n\n" \ |
#define tail_full_usage "\n\n" \ |
4396 |
"Print last 10 lines of each FILE to standard output.\n" \ |
"Print last 10 lines of each FILE (or stdin) to stdout.\n" \ |
4397 |
"With more than one FILE, precede each with a header giving the\n" \ |
"With more than one FILE, precede each with a header giving the file name.\n" \ |
|
"file name. With no FILE, or when FILE is -, read standard input.\n" \ |
|
4398 |
"\nOptions:" \ |
"\nOptions:" \ |
4399 |
USE_FEATURE_FANCY_TAIL( \ |
IF_FEATURE_FANCY_TAIL( \ |
4400 |
"\n -c N[kbm] Output the last N bytes") \ |
"\n -c N[kbm] Output last N bytes") \ |
4401 |
"\n -n N[kbm] Print last N lines instead of last 10" \ |
"\n -n N[kbm] Print last N lines instead of last 10" \ |
4402 |
"\n -f Output data as the file grows" \ |
"\n -f Output data as the file grows" \ |
4403 |
USE_FEATURE_FANCY_TAIL( \ |
IF_FEATURE_FANCY_TAIL( \ |
4404 |
"\n -q Never output headers giving file names" \ |
"\n -q Never output headers giving file names" \ |
4405 |
"\n -s SEC Wait SEC seconds between reads with -f" \ |
"\n -s SEC Wait SEC seconds between reads with -f" \ |
4406 |
"\n -v Always output headers giving file names" \ |
"\n -v Always output headers giving file names" \ |
4414 |
"nameserver 10.0.0.1\n" |
"nameserver 10.0.0.1\n" |
4415 |
|
|
4416 |
#define tar_trivial_usage \ |
#define tar_trivial_usage \ |
4417 |
"-[" USE_FEATURE_TAR_CREATE("c") USE_FEATURE_SEAMLESS_GZ("z") \ |
"-[" IF_FEATURE_TAR_CREATE("c") "xt" IF_FEATURE_SEAMLESS_GZ("z") \ |
4418 |
USE_FEATURE_SEAMLESS_BZ2("j") USE_FEATURE_SEAMLESS_LZMA("a") \ |
IF_FEATURE_SEAMLESS_BZ2("j") IF_FEATURE_SEAMLESS_LZMA("a") \ |
4419 |
USE_FEATURE_SEAMLESS_Z("Z") "xtvO] " \ |
IF_FEATURE_SEAMLESS_Z("Z") IF_FEATURE_TAR_NOPRESERVE_TIME("m") "vO] " \ |
4420 |
USE_FEATURE_TAR_FROM("[-X FILE] ") \ |
IF_FEATURE_TAR_FROM("[-X FILE] ") \ |
4421 |
"[-f TARFILE] [-C DIR] [FILE(s)]..." |
"[-f TARFILE] [-C DIR] [FILE]..." |
4422 |
#define tar_full_usage "\n\n" \ |
#define tar_full_usage "\n\n" \ |
4423 |
"Create, extract, or list files from a tar file\n" \ |
IF_FEATURE_TAR_CREATE("Create, extract, ") \ |
4424 |
|
IF_NOT_FEATURE_TAR_CREATE("Extract ") \ |
4425 |
|
"or list files from a tar file\n" \ |
4426 |
"\nOptions:" \ |
"\nOptions:" \ |
4427 |
USE_FEATURE_TAR_CREATE( \ |
IF_FEATURE_TAR_CREATE( \ |
4428 |
"\n c Create") \ |
"\n c Create" \ |
4429 |
|
) \ |
4430 |
"\n x Extract" \ |
"\n x Extract" \ |
4431 |
"\n t List" \ |
"\n t List" \ |
4432 |
"\nArchive format selection:" \ |
"\nArchive format selection:" \ |
4433 |
USE_FEATURE_SEAMLESS_GZ( \ |
IF_FEATURE_SEAMLESS_GZ( \ |
4434 |
"\n z Filter the archive through gzip" \ |
"\n z Filter the archive through gzip" \ |
4435 |
) \ |
) \ |
4436 |
USE_FEATURE_SEAMLESS_BZ2( \ |
IF_FEATURE_SEAMLESS_BZ2( \ |
4437 |
"\n j Filter the archive through bzip2" \ |
"\n j Filter the archive through bzip2" \ |
4438 |
) \ |
) \ |
4439 |
USE_FEATURE_SEAMLESS_LZMA( \ |
IF_FEATURE_SEAMLESS_LZMA( \ |
4440 |
"\n a Filter the archive through lzma" \ |
"\n a Filter the archive through lzma" \ |
4441 |
) \ |
) \ |
4442 |
USE_FEATURE_SEAMLESS_Z( \ |
IF_FEATURE_SEAMLESS_Z( \ |
4443 |
"\n Z Filter the archive through compress" \ |
"\n Z Filter the archive through compress" \ |
4444 |
) \ |
) \ |
4445 |
|
IF_FEATURE_TAR_NOPRESERVE_TIME( \ |
4446 |
|
"\n m Do not restore mtime" \ |
4447 |
|
) \ |
4448 |
"\nFile selection:" \ |
"\nFile selection:" \ |
4449 |
"\n f Name of TARFILE or \"-\" for stdin" \ |
"\n f Name of TARFILE or \"-\" for stdin" \ |
4450 |
"\n O Extract to stdout" \ |
"\n O Extract to stdout" \ |
4451 |
USE_FEATURE_TAR_FROM( \ |
IF_FEATURE_TAR_FROM( \ |
4452 |
|
IF_FEATURE_TAR_LONG_OPTIONS( \ |
4453 |
"\n exclude File to exclude" \ |
"\n exclude File to exclude" \ |
4454 |
|
) \ |
4455 |
"\n X File with names to exclude" \ |
"\n X File with names to exclude" \ |
4456 |
) \ |
) \ |
4457 |
"\n C Change to directory DIR before operation" \ |
"\n C Change to DIR before operation" \ |
4458 |
"\n v Verbose" \ |
"\n v Verbose" \ |
4459 |
|
|
4460 |
#define tar_example_usage \ |
#define tar_example_usage \ |
4462 |
"$ tar -cf /tmp/tarball.tar /usr/local\n" |
"$ tar -cf /tmp/tarball.tar /usr/local\n" |
4463 |
|
|
4464 |
#define taskset_trivial_usage \ |
#define taskset_trivial_usage \ |
4465 |
"[-p] [mask] [pid | command [arg]...]" |
"[-p] [MASK] [PID | PROG ARGS]" |
4466 |
#define taskset_full_usage "\n\n" \ |
#define taskset_full_usage "\n\n" \ |
4467 |
"Set or get CPU affinity\n" \ |
"Set or get CPU affinity\n" \ |
4468 |
"\nOptions:" \ |
"\nOptions:" \ |
4480 |
"pid 1's current affinity mask: 3\n" |
"pid 1's current affinity mask: 3\n" |
4481 |
|
|
4482 |
#define tee_trivial_usage \ |
#define tee_trivial_usage \ |
4483 |
"[OPTION]... [FILE]..." |
"[OPTIONS] [FILE]..." |
4484 |
#define tee_full_usage "\n\n" \ |
#define tee_full_usage "\n\n" \ |
4485 |
"Copy standard input to each FILE, and also to standard output\n" \ |
"Copy stdin to each FILE, and also to stdout\n" \ |
4486 |
"\nOptions:" \ |
"\nOptions:" \ |
4487 |
"\n -a Append to the given FILEs, do not overwrite" \ |
"\n -a Append to the given FILEs, don't overwrite" \ |
4488 |
"\n -i Ignore interrupt signals (SIGINT)" \ |
"\n -i Ignore interrupt signals (SIGINT)" \ |
4489 |
|
|
4490 |
#define tee_example_usage \ |
#define tee_example_usage \ |
4509 |
#endif |
#endif |
4510 |
|
|
4511 |
#define telnetd_trivial_usage \ |
#define telnetd_trivial_usage \ |
4512 |
"[OPTION]" |
"[OPTIONS]" |
4513 |
#define telnetd_full_usage "\n\n" \ |
#define telnetd_full_usage "\n\n" \ |
4514 |
"Handle incoming telnet connections" \ |
"Handle incoming telnet connections" \ |
4515 |
SKIP_FEATURE_TELNETD_STANDALONE(" via inetd") "\n" \ |
IF_NOT_FEATURE_TELNETD_STANDALONE(" via inetd") "\n" \ |
4516 |
"\nOptions:" \ |
"\nOptions:" \ |
4517 |
"\n -l LOGIN Exec LOGIN on connect" \ |
"\n -l LOGIN Exec LOGIN on connect" \ |
4518 |
"\n -f issue_file Display issue_file instead of /etc/issue" \ |
"\n -f ISSUE_FILE Display ISSUE_FILE instead of /etc/issue" \ |
4519 |
"\n -K Close connection as soon as login exits" \ |
"\n -K Close connection as soon as login exits" \ |
4520 |
"\n (normally wait until all programs close slave pty)" \ |
"\n (normally wait until all programs close slave pty)" \ |
4521 |
USE_FEATURE_TELNETD_STANDALONE( \ |
IF_FEATURE_TELNETD_STANDALONE( \ |
4522 |
"\n -p PORT Port to listen on" \ |
"\n -p PORT Port to listen on" \ |
4523 |
"\n -b ADDR Address to bind to" \ |
"\n -b ADDR[:PORT] Address to bind to" \ |
4524 |
"\n -F Run in foreground" \ |
"\n -F Run in foreground" \ |
4525 |
"\n -i Run as inetd subservice" \ |
"\n -i Inetd mode" \ |
4526 |
|
IF_FEATURE_TELNETD_INETD_WAIT( \ |
4527 |
|
"\n -w SEC Inetd 'wait' mode, linger time SEC" \ |
4528 |
|
"\n -S Log to syslog (implied by -i or without -F and -w)" \ |
4529 |
|
) \ |
4530 |
) |
) |
4531 |
|
|
4532 |
/* "test --help" does not print help (POSIX compat), only "[ --help" does. |
/* "test --help" does not print help (POSIX compat), only "[ --help" does. |
4533 |
* We display "<applet> EXPRESSION ]" here (not "<applet> EXPRESSION") */ |
* We display "<applet> EXPRESSION ]" here (not "<applet> EXPRESSION") |
4534 |
|
* Unfortunately, it screws up generated BusyBox.html. TODO. */ |
4535 |
#define test_trivial_usage \ |
#define test_trivial_usage \ |
4536 |
"EXPRESSION ]" |
"EXPRESSION ]" |
4537 |
#define test_full_usage "\n\n" \ |
#define test_full_usage "\n\n" \ |
4557 |
"OBJECT: {qdisc|class|filter}\n" \ |
"OBJECT: {qdisc|class|filter}\n" \ |
4558 |
"CMD: {add|del|change|replace|show}\n" \ |
"CMD: {add|del|change|replace|show}\n" \ |
4559 |
"\n" \ |
"\n" \ |
4560 |
"qdisc [ handle QHANDLE ] [ root |"USE_FEATURE_TC_INGRESS(" ingress |")" parent CLASSID ]\n" \ |
"qdisc [ handle QHANDLE ] [ root |"IF_FEATURE_TC_INGRESS(" ingress |")" parent CLASSID ]\n" \ |
4561 |
/* "\t[ estimator INTERVAL TIME_CONSTANT ]\n" */ \ |
/* "[ estimator INTERVAL TIME_CONSTANT ]\n" */ \ |
4562 |
"\t[ [ QDISC_KIND ] [ help | OPTIONS ] ]\n" \ |
" [ [ QDISC_KIND ] [ help | OPTIONS ] ]\n" \ |
4563 |
"\tQDISC_KIND := { [p|b]fifo | tbf | prio | cbq | red | etc. }\n" \ |
" QDISC_KIND := { [p|b]fifo | tbf | prio | cbq | red | etc. }\n" \ |
4564 |
"qdisc show [ dev STRING ]"USE_FEATURE_TC_INGRESS(" [ingress]")"\n" \ |
"qdisc show [ dev STRING ]"IF_FEATURE_TC_INGRESS(" [ingress]")"\n" \ |
4565 |
"class [ classid CLASSID ] [ root | parent CLASSID ]\n" \ |
"class [ classid CLASSID ] [ root | parent CLASSID ]\n" \ |
4566 |
"\t[ [ QDISC_KIND ] [ help | OPTIONS ] ]\n" \ |
" [ [ QDISC_KIND ] [ help | OPTIONS ] ]\n" \ |
4567 |
"class show [ dev STRING ] [ root | parent CLASSID ]\n" \ |
"class show [ dev STRING ] [ root | parent CLASSID ]\n" \ |
4568 |
"filter [ pref PRIO ] [ protocol PROTO ]\n" \ |
"filter [ pref PRIO ] [ protocol PROTO ]\n" \ |
4569 |
/* "\t[ estimator INTERVAL TIME_CONSTANT ]\n" */ \ |
/* "\t[ estimator INTERVAL TIME_CONSTANT ]\n" */ \ |
4570 |
"\t[ root | classid CLASSID ] [ handle FILTERID ]\n" \ |
" [ root | classid CLASSID ] [ handle FILTERID ]\n" \ |
4571 |
"\t[ [ FILTER_TYPE ] [ help | OPTIONS ] ]\n" \ |
" [ [ FILTER_TYPE ] [ help | OPTIONS ] ]\n" \ |
4572 |
"filter show [ dev STRING ] [ root | parent CLASSID ]" |
"filter show [ dev STRING ] [ root | parent CLASSID ]" |
4573 |
|
|
4574 |
#define tcpsvd_trivial_usage \ |
#define tcpsvd_trivial_usage \ |
4575 |
"[-hEv] [-c n] [-C n:msg] [-b n] [-u user] [-l name] ip port prog..." |
"[-hEv] [-c N] [-C N[:MSG]] [-b N] [-u USER] [-l NAME] IP PORT PROG" |
4576 |
/* with not-implemented options: */ |
/* with not-implemented options: */ |
4577 |
/* "[-hpEvv] [-c n] [-C n:msg] [-b n] [-u user] [-l name] [-i dir|-x cdb] [-t sec] ip port prog..." */ |
/* "[-hpEvv] [-c N] [-C N[:MSG]] [-b N] [-u USER] [-l NAME] [-i DIR|-x CDB] [-t SEC] IP PORT PROG" */ |
4578 |
#define tcpsvd_full_usage "\n\n" \ |
#define tcpsvd_full_usage "\n\n" \ |
4579 |
"Create TCP socket, bind it to ip:port and listen\n" \ |
"Create TCP socket, bind to IP:PORT and listen\n" \ |
4580 |
"for incoming connection. Run PROG for each connection.\n" \ |
"for incoming connection. Run PROG for each connection.\n" \ |
4581 |
"\nip IP to listen on. '0' = all" \ |
"\n IP IP to listen on. '0' = all" \ |
4582 |
"\nport Port to listen on" \ |
"\n PORT Port to listen on" \ |
4583 |
"\nprog [arg] Program to run" \ |
"\n PROG ARGS Program to run" \ |
4584 |
"\n-l name Local hostname (else looks up local hostname in DNS)" \ |
"\n -l NAME Local hostname (else looks up local hostname in DNS)" \ |
4585 |
"\n-u user[:group] Change to user/group after bind" \ |
"\n -u USER[:GRP] Change to user/group after bind" \ |
4586 |
"\n-c n Handle up to n connections simultaneously" \ |
"\n -c N Handle up to N connections simultaneously" \ |
4587 |
"\n-b n Allow a backlog of approximately n TCP SYNs" \ |
"\n -b N Allow a backlog of approximately N TCP SYNs" \ |
4588 |
"\n-C n[:msg] Allow only up to n connections from the same IP" \ |
"\n -C N[:MSG] Allow only up to N connections from the same IP" \ |
4589 |
"\n New connections from this IP address are closed" \ |
"\n New connections from this IP address are closed" \ |
4590 |
"\n immediately. 'msg' is written to the peer before close" \ |
"\n immediately. MSG is written to the peer before close" \ |
4591 |
"\n-h Look up peer's hostname" \ |
"\n -h Look up peer's hostname" \ |
4592 |
"\n-E Do not set up environment variables" \ |
"\n -E Don't set up environment variables" \ |
4593 |
"\n-v Verbose" \ |
"\n -v Verbose" \ |
4594 |
|
|
4595 |
#define udpsvd_trivial_usage \ |
#define udpsvd_trivial_usage \ |
4596 |
"[-hEv] [-c n] [-u user] [-l name] ip port prog" |
"[-hEv] [-c N] [-u USER] [-l NAME] IP PORT PROG" |
4597 |
#define udpsvd_full_usage "\n\n" \ |
#define udpsvd_full_usage "\n\n" \ |
4598 |
"Create UDP socket, bind it to ip:port and wait\n" \ |
"Create UDP socket, bind to IP:PORT and wait\n" \ |
4599 |
"for incoming packets. Run PROG for each packet,\n" \ |
"for incoming packets. Run PROG for each packet,\n" \ |
4600 |
"redirecting all further packets with same peer ip:port to it\n" \ |
"redirecting all further packets with same peer ip:port to it.\n" \ |
4601 |
"\nip IP to listen on. '0' = all" \ |
"\n IP IP to listen on. '0' = all" \ |
4602 |
"\nport Port to listen on" \ |
"\n PORT Port to listen on" \ |
4603 |
"\nprog [arg] Program to run" \ |
"\n PROG ARGS Program to run" \ |
4604 |
"\n-l name Local hostname (else looks up local hostname in DNS)" \ |
"\n -l NAME Local hostname (else looks up local hostname in DNS)" \ |
4605 |
"\n-u user[:group] Change to user/group after bind" \ |
"\n -u USER[:GRP] Change to user/group after bind" \ |
4606 |
"\n-c n Handle up to n connections simultaneously" \ |
"\n -c N Handle up to N connections simultaneously" \ |
4607 |
"\n-h Look up peer's hostname" \ |
"\n -h Look up peer's hostname" \ |
4608 |
"\n-E Do not set up environment variables" \ |
"\n -E Don't set up environment variables" \ |
4609 |
"\n-v Verbose" \ |
"\n -v Verbose" \ |
4610 |
|
|
4611 |
#define tftp_trivial_usage \ |
#define tftp_trivial_usage \ |
4612 |
"[OPTION]... HOST [PORT]" |
"[OPTIONS] HOST [PORT]" |
4613 |
#define tftp_full_usage "\n\n" \ |
#define tftp_full_usage "\n\n" \ |
4614 |
"Transfer a file from/to tftp server\n" \ |
"Transfer a file from/to tftp server\n" \ |
4615 |
"\nOptions:" \ |
"\nOptions:" \ |
4616 |
"\n -l FILE Local FILE" \ |
"\n -l FILE Local FILE" \ |
4617 |
"\n -r FILE Remote FILE" \ |
"\n -r FILE Remote FILE" \ |
4618 |
USE_FEATURE_TFTP_GET( \ |
IF_FEATURE_TFTP_GET( \ |
4619 |
"\n -g Get file" \ |
"\n -g Get file" \ |
4620 |
) \ |
) \ |
4621 |
USE_FEATURE_TFTP_PUT( \ |
IF_FEATURE_TFTP_PUT( \ |
4622 |
"\n -p Put file" \ |
"\n -p Put file" \ |
4623 |
) \ |
) \ |
4624 |
USE_FEATURE_TFTP_BLOCKSIZE( \ |
IF_FEATURE_TFTP_BLOCKSIZE( \ |
4625 |
"\n -b SIZE Transfer blocks of SIZE octets" \ |
"\n -b SIZE Transfer blocks of SIZE octets" \ |
4626 |
) |
) |
4627 |
|
|
4628 |
#define tftpd_trivial_usage \ |
#define tftpd_trivial_usage \ |
4629 |
"[-cr] [-u USER] [DIR]" |
"[-cr] [-u USER] [DIR]" |
4630 |
#define tftpd_full_usage "\n\n" \ |
#define tftpd_full_usage "\n\n" \ |
4631 |
"Transfer a file on tftp client's request.\n" \ |
"Transfer a file on tftp client's request\n" \ |
4632 |
"\n" \ |
"\n" \ |
4633 |
"tftpd should be used as an inetd service.\n" \ |
"tftpd should be used as an inetd service.\n" \ |
4634 |
"tftpd's line for inetd.conf:\n" \ |
"tftpd's line for inetd.conf:\n" \ |
4641 |
"\n -u Access files as USER" \ |
"\n -u Access files as USER" \ |
4642 |
|
|
4643 |
#define time_trivial_usage \ |
#define time_trivial_usage \ |
4644 |
"[OPTION]... COMMAND [ARGS...]" |
"[OPTIONS] PROG ARGS" |
4645 |
#define time_full_usage "\n\n" \ |
#define time_full_usage "\n\n" \ |
4646 |
"Run the program COMMAND with arguments ARGS. When COMMAND finishes,\n" \ |
"Run PROG, display resource usage when it exits\n" \ |
|
"COMMAND's resource usage information is displayed.\n" \ |
|
4647 |
"\nOptions:" \ |
"\nOptions:" \ |
4648 |
"\n -v Verbose" \ |
"\n -v Verbose" \ |
4649 |
|
|
4650 |
|
#define timeout_trivial_usage \ |
4651 |
|
"[-t SECS] [-s SIG] PROG ARGS" |
4652 |
|
#define timeout_full_usage "\n\n" \ |
4653 |
|
"Runs PROG. Sends SIG to it if it is not gone in SECS seconds.\n" \ |
4654 |
|
"Defaults: SECS: 10, SIG: TERM." \ |
4655 |
|
|
4656 |
#define top_trivial_usage \ |
#define top_trivial_usage \ |
4657 |
"[-b] [-nCOUNT] [-dSECONDS]" |
"[-b] [-nCOUNT] [-dSECONDS]" IF_FEATURE_TOPMEM(" [-m]") |
4658 |
#define top_full_usage "\n\n" \ |
#define top_full_usage "\n\n" \ |
4659 |
"Provide a view of process activity in real time.\n" \ |
"Provide a view of process activity in real time.\n" \ |
4660 |
"Read the status of all processes from /proc each SECONDS\n" \ |
"Read the status of all processes from /proc each SECONDS\n" \ |
4661 |
"and show the status for however many processes will fit on the screen." \ |
"and display a screenful of them." \ |
4662 |
|
//TODO: add options and keyboard commands |
4663 |
|
|
4664 |
#define touch_trivial_usage \ |
#define touch_trivial_usage \ |
4665 |
"[-c] FILE [FILE...]" |
"[-c] [-d DATE] FILE [FILE]..." |
4666 |
#define touch_full_usage "\n\n" \ |
#define touch_full_usage "\n\n" \ |
4667 |
"Update the last-modified date on the given FILE[s]\n" \ |
"Update the last-modified date on the given FILE[s]\n" \ |
4668 |
"\nOptions:" \ |
"\nOptions:" \ |
4669 |
"\n -c Do not create any files" \ |
"\n -c Don't create files" \ |
4670 |
|
"\n -d DT Date/time to use" \ |
4671 |
|
|
4672 |
#define touch_example_usage \ |
#define touch_example_usage \ |
4673 |
"$ ls -l /tmp/foo\n" \ |
"$ ls -l /tmp/foo\n" \ |
4679 |
#define tr_trivial_usage \ |
#define tr_trivial_usage \ |
4680 |
"[-cds] STRING1 [STRING2]" |
"[-cds] STRING1 [STRING2]" |
4681 |
#define tr_full_usage "\n\n" \ |
#define tr_full_usage "\n\n" \ |
4682 |
"Translate, squeeze, and/or delete characters from\n" \ |
"Translate, squeeze, or delete characters from stdin, writing to stdout\n" \ |
|
"standard input, writing to standard output\n" \ |
|
4683 |
"\nOptions:" \ |
"\nOptions:" \ |
4684 |
"\n -c Take complement of STRING1" \ |
"\n -c Take complement of STRING1" \ |
4685 |
"\n -d Delete input characters coded STRING1" \ |
"\n -d Delete input characters coded STRING1" \ |
4690 |
"hello world\n" |
"hello world\n" |
4691 |
|
|
4692 |
#define traceroute_trivial_usage \ |
#define traceroute_trivial_usage \ |
4693 |
"[-FIldnrv] [-f 1st_ttl] [-m max_ttl] [-p port#] [-q nqueries]\n" \ |
"[-"IF_TRACEROUTE6("46")"FIldnrv] [-f 1ST_TTL] [-m MAXTTL] [-p PORT] [-q PROBES]\n" \ |
4694 |
" [-s src_addr] [-t tos] [-w wait] [-g gateway] [-i iface]\n" \ |
" [-s SRC_IP] [-t TOS] [-w WAIT_SEC] [-g GATEWAY] [-i IFACE]\n" \ |
4695 |
" [-z pausemsecs] HOST [data size]" |
" [-z PAUSE_MSEC] HOST [BYTES]" |
4696 |
#define traceroute_full_usage "\n\n" \ |
#define traceroute_full_usage "\n\n" \ |
4697 |
"Trace the route to HOST\n" \ |
"Trace the route to HOST\n" \ |
4698 |
"\nOptions:" \ |
"\nOptions:" \ |
4699 |
|
IF_TRACEROUTE6( \ |
4700 |
|
"\n -4, -6 Force IP or IPv6 name resolution" \ |
4701 |
|
) \ |
4702 |
"\n -F Set the don't fragment bit" \ |
"\n -F Set the don't fragment bit" \ |
4703 |
"\n -I Use ICMP ECHO instead of UDP datagrams" \ |
"\n -I Use ICMP ECHO instead of UDP datagrams" \ |
4704 |
"\n -l Display the ttl value of the returned packet" \ |
"\n -l Display the TTL value of the returned packet" \ |
4705 |
"\n -d Set SO_DEBUG options to socket" \ |
"\n -d Set SO_DEBUG options to socket" \ |
4706 |
"\n -n Print hop addresses numerically rather than symbolically" \ |
"\n -n Print numeric addresses" \ |
4707 |
"\n -r Bypass the normal routing tables and send directly to a host" \ |
"\n -r Bypass routing tables, send directly to HOST" \ |
4708 |
"\n -v Verbose" \ |
"\n -v Verbose" \ |
4709 |
"\n -m max_ttl Max time-to-live (max number of hops)" \ |
"\n -m Max time-to-live (max number of hops)" \ |
4710 |
"\n -p port# Base UDP port number used in probes" \ |
"\n -p Base UDP port number used in probes" \ |
4711 |
"\n (default is 33434)" \ |
"\n (default 33434)" \ |
4712 |
"\n -q nqueries Number of probes per 'ttl' (default 3)" \ |
"\n -q Number of probes per TTL (default 3)" \ |
4713 |
"\n -s src_addr IP address to use as the source address" \ |
"\n -s IP address to use as the source address" \ |
4714 |
"\n -t tos Type-of-service in probe packets (default 0)" \ |
"\n -t Type-of-service in probe packets (default 0)" \ |
4715 |
"\n -w wait Time in seconds to wait for a response" \ |
"\n -w Time in seconds to wait for a response (default 3)" \ |
4716 |
"\n (default 3 sec)" \ |
"\n -g Loose source route gateway (8 max)" \ |
4717 |
"\n -g Loose source route gateway (8 max)" \ |
|
4718 |
|
#define traceroute6_trivial_usage \ |
4719 |
|
"[-dnrv] [-m MAXTTL] [-p PORT] [-q PROBES]\n" \ |
4720 |
|
" [-s SRC_IP] [-t TOS] [-w WAIT_SEC] [-i IFACE]\n" \ |
4721 |
|
" HOST [BYTES]" |
4722 |
|
#define traceroute6_full_usage "\n\n" \ |
4723 |
|
"Trace the route to HOST\n" \ |
4724 |
|
"\nOptions:" \ |
4725 |
|
"\n -d Set SO_DEBUG options to socket" \ |
4726 |
|
"\n -n Print numeric addresses" \ |
4727 |
|
"\n -r Bypass routing tables, send directly to HOST" \ |
4728 |
|
"\n -v Verbose" \ |
4729 |
|
"\n -m Max time-to-live (max number of hops)" \ |
4730 |
|
"\n -p Base UDP port number used in probes" \ |
4731 |
|
"\n (default is 33434)" \ |
4732 |
|
"\n -q Number of probes per TTL (default 3)" \ |
4733 |
|
"\n -s IP address to use as the source address" \ |
4734 |
|
"\n -t Type-of-service in probe packets (default 0)" \ |
4735 |
|
"\n -w Time in seconds to wait for a response (default 3)" \ |
4736 |
|
|
4737 |
#define true_trivial_usage \ |
#define true_trivial_usage \ |
4738 |
"" |
"" |
4746 |
#define tty_trivial_usage \ |
#define tty_trivial_usage \ |
4747 |
"" |
"" |
4748 |
#define tty_full_usage "\n\n" \ |
#define tty_full_usage "\n\n" \ |
4749 |
"Print file name of standard input's terminal" \ |
"Print file name of stdin's terminal" \ |
4750 |
USE_INCLUDE_SUSv2( "\n" \ |
IF_INCLUDE_SUSv2( "\n" \ |
4751 |
"\nOptions:" \ |
"\nOptions:" \ |
4752 |
"\n -s Print nothing, only return exit status" \ |
"\n -s Print nothing, only return exit status" \ |
4753 |
) |
) |
4758 |
#define ttysize_trivial_usage \ |
#define ttysize_trivial_usage \ |
4759 |
"[w] [h]" |
"[w] [h]" |
4760 |
#define ttysize_full_usage "\n\n" \ |
#define ttysize_full_usage "\n\n" \ |
4761 |
"Print dimension(s) of standard input's terminal, on error return 80x25" |
"Print dimension(s) of stdin's terminal, on error return 80x25" |
4762 |
|
|
4763 |
|
#define tunctl_trivial_usage \ |
4764 |
|
"[-f device] ([-t name] | -d name)" IF_FEATURE_TUNCTL_UG(" [-u owner] [-g group] [-b]") |
4765 |
|
#define tunctl_full_usage "\n\n" \ |
4766 |
|
"Create or delete tun interfaces\n" \ |
4767 |
|
"\nOptions:" \ |
4768 |
|
"\n -f name tun device (/dev/net/tun)" \ |
4769 |
|
"\n -t name Create iface 'name'" \ |
4770 |
|
"\n -d name Delete iface 'name'" \ |
4771 |
|
IF_FEATURE_TUNCTL_UG( \ |
4772 |
|
"\n -u owner Set iface owner" \ |
4773 |
|
"\n -g group Set iface group" \ |
4774 |
|
"\n -b Brief output" \ |
4775 |
|
) |
4776 |
|
#define tunctl_example_usage \ |
4777 |
|
"# tunctl\n" \ |
4778 |
|
"# tunctl -d tun0\n" |
4779 |
|
|
4780 |
#define tune2fs_trivial_usage \ |
#define tune2fs_trivial_usage \ |
4781 |
"[-c max-mounts-count] [-e errors-behavior] [-g group] " \ |
/* "[-c max-mounts-count] [-e errors-behavior] [-g group] " */ \ |
4782 |
"[-i interval[d|m|w]] [-j] [-J journal-options] [-l] [-s sparse-flag] " \ |
/* "[-i interval[d|m|w]] [-j] [-J journal-options] [-l] [-s sparse-flag] " */ \ |
4783 |
"[-m reserved-blocks-percent] [-o [^]mount-options[,...]] " \ |
/* "[-m reserved-blocks-percent] [-o [^]mount-options[,...]] " */ \ |
4784 |
"[-r reserved-blocks-count] [-u user] [-C mount-count] " \ |
/* "[-r reserved-blocks-count] [-u user] [-C mount-count] " */ \ |
4785 |
"[-L volume-label] [-M last-mounted-dir] [-O [^]feature[,...]] " \ |
"[-L LABEL] " \ |
4786 |
"[-T last-check-time] [-U UUID] device" |
/* "[-M last-mounted-dir] [-O [^]feature[,...]] " */ \ |
4787 |
|
/* "[-T last-check-time] [-U UUID] " */ \ |
4788 |
|
"BLOCKDEV" |
4789 |
#define tune2fs_full_usage "\n\n" \ |
#define tune2fs_full_usage "\n\n" \ |
4790 |
"Adjust filesystem options on ext[23] filesystems" |
"Adjust filesystem options on ext[23] filesystems" |
4791 |
|
|
4792 |
#define udhcpc_trivial_usage \ |
#define udhcpc_trivial_usage \ |
4793 |
"[-Cfbnqtvo] [-c CID] [-V VCLS] [-H HOSTNAME] [-i INTERFACE]\n" \ |
"[-Cfbnqtvo] [-c CID] [-V VCLS] [-H HOSTNAME] [-i INTERFACE]\n" \ |
4794 |
" [-p pidfile] [-r IP] [-s script] [-O dhcp-option]..." USE_FEATURE_UDHCP_PORT(" [-P N]") |
" [-p pidfile] [-r IP] [-s script] [-O dhcp-option]..." IF_FEATURE_UDHCP_PORT(" [-P N]") |
4795 |
#define udhcpc_full_usage "\n\n" \ |
#define udhcpc_full_usage "\n\n" \ |
4796 |
USE_GETOPT_LONG( \ |
IF_LONG_OPTS( \ |
4797 |
" -V,--vendorclass=CLASSID Vendor class identifier" \ |
" -V,--vendorclass=CLASSID Vendor class identifier" \ |
4798 |
"\n -i,--interface=INTERFACE Interface to use (default eth0)" \ |
"\n -i,--interface=INTERFACE Interface to use (default eth0)" \ |
4799 |
"\n -H,-h,--hostname=HOSTNAME Client hostname" \ |
"\n -H,-h,--hostname=HOSTNAME Client hostname" \ |
4800 |
"\n -c,--clientid=CLIENTID Client identifier" \ |
"\n -c,--clientid=CLIENTID Client identifier" \ |
4801 |
"\n -C,--clientid-none Suppress default client identifier" \ |
"\n -C,--clientid-none Suppress default client identifier" \ |
4802 |
"\n -p,--pidfile=file Create pidfile" \ |
"\n -p,--pidfile=FILE Create pidfile" \ |
4803 |
"\n -r,--request=IP IP address to request" \ |
"\n -r,--request=IP IP address to request" \ |
4804 |
"\n -s,--script=file Run file at DHCP events (default "CONFIG_UDHCPC_DEFAULT_SCRIPT")" \ |
"\n -s,--script=FILE Run FILE at DHCP events (default "CONFIG_UDHCPC_DEFAULT_SCRIPT")" \ |
4805 |
"\n -t,--retries=N Send up to N request packets" \ |
"\n -t,--retries=N Send up to N discover packets" \ |
4806 |
"\n -T,--timeout=N Try to get a lease for N seconds (default 3)" \ |
"\n -T,--timeout=N Pause between packets (default 3 seconds)" \ |
4807 |
"\n -A,--tryagain=N Wait N seconds (default 20) after failure" \ |
"\n -A,--tryagain=N Wait N seconds (default 20) after failure" \ |
4808 |
"\n -O,--request-option=OPT Request DHCP option OPT (cumulative)" \ |
"\n -O,--request-option=OPT Request DHCP option OPT (cumulative)" \ |
4809 |
"\n -o,--no-default-options Do not request any options (unless -O is also given)" \ |
"\n -o,--no-default-options Don't request any options (unless -O is also given)" \ |
4810 |
"\n -f,--foreground Run in foreground" \ |
"\n -f,--foreground Run in foreground" \ |
4811 |
USE_FOR_MMU( \ |
USE_FOR_MMU( \ |
4812 |
"\n -b,--background Background if lease is not immediately obtained" \ |
"\n -b,--background Background if lease is not immediately obtained" \ |
4815 |
"\n -n,--now Exit with failure if lease is not immediately obtained" \ |
"\n -n,--now Exit with failure if lease is not immediately obtained" \ |
4816 |
"\n -q,--quit Quit after obtaining lease" \ |
"\n -q,--quit Quit after obtaining lease" \ |
4817 |
"\n -R,--release Release IP on quit" \ |
"\n -R,--release Release IP on quit" \ |
4818 |
USE_FEATURE_UDHCP_PORT( \ |
IF_FEATURE_UDHCP_PORT( \ |
4819 |
"\n -P,--client-port N Use port N instead of default 68" \ |
"\n -P,--client-port N Use port N instead of default 68" \ |
4820 |
) \ |
) \ |
4821 |
USE_FEATURE_UDHCPC_ARPING( \ |
IF_FEATURE_UDHCPC_ARPING( \ |
4822 |
"\n -a,--arping Use arping to validate offered address" \ |
"\n -a,--arping Use arping to validate offered address" \ |
4823 |
) \ |
) \ |
4824 |
) \ |
) \ |
4825 |
SKIP_GETOPT_LONG( \ |
IF_NOT_LONG_OPTS( \ |
4826 |
" -V CLASSID Vendor class identifier" \ |
" -V CLASSID Vendor class identifier" \ |
4827 |
"\n -i INTERFACE Interface to use (default: eth0)" \ |
"\n -i INTERFACE Interface to use (default: eth0)" \ |
4828 |
"\n -H,-h HOSTNAME Client hostname" \ |
"\n -H,-h HOSTNAME Client hostname" \ |
4829 |
"\n -c CLIENTID Client identifier" \ |
"\n -c CLIENTID Client identifier" \ |
4830 |
"\n -C Suppress default client identifier" \ |
"\n -C Suppress default client identifier" \ |
4831 |
"\n -p file Create pidfile" \ |
"\n -p FILE Create pidfile" \ |
4832 |
"\n -r IP IP address to request" \ |
"\n -r IP IP address to request" \ |
4833 |
"\n -s file Run file at DHCP events (default "CONFIG_UDHCPC_DEFAULT_SCRIPT")" \ |
"\n -s FILE Run FILE at DHCP events (default "CONFIG_UDHCPC_DEFAULT_SCRIPT")" \ |
4834 |
"\n -t N Send up to N request packets" \ |
"\n -t N Send up to N request packets" \ |
4835 |
"\n -T N Try to get a lease for N seconds (default 3)" \ |
"\n -T N Try to get a lease for N seconds (default 3)" \ |
4836 |
"\n -A N Wait N seconds (default 20) after failure" \ |
"\n -A N Wait N seconds (default 20) after failure" \ |
4837 |
"\n -O OPT Request DHCP option OPT (cumulative)" \ |
"\n -O OPT Request DHCP option OPT (cumulative)" \ |
4838 |
"\n -o Do not request any options (unless -O is also given)" \ |
"\n -o Don't request any options (unless -O is also given)" \ |
4839 |
"\n -f Run in foreground" \ |
"\n -f Run in foreground" \ |
4840 |
USE_FOR_MMU( \ |
USE_FOR_MMU( \ |
4841 |
"\n -b Background if lease is not immediately obtained" \ |
"\n -b Background if lease is not immediately obtained" \ |
4844 |
"\n -n Exit with failure if lease is not immediately obtained" \ |
"\n -n Exit with failure if lease is not immediately obtained" \ |
4845 |
"\n -q Quit after obtaining lease" \ |
"\n -q Quit after obtaining lease" \ |
4846 |
"\n -R Release IP on quit" \ |
"\n -R Release IP on quit" \ |
4847 |
USE_FEATURE_UDHCP_PORT( \ |
IF_FEATURE_UDHCP_PORT( \ |
4848 |
"\n -P N Use port N instead of default 68" \ |
"\n -P N Use port N instead of default 68" \ |
4849 |
) \ |
) \ |
4850 |
USE_FEATURE_UDHCPC_ARPING( \ |
IF_FEATURE_UDHCPC_ARPING( \ |
4851 |
"\n -a Use arping to validate offered address" \ |
"\n -a Use arping to validate offered address" \ |
4852 |
) \ |
) \ |
4853 |
) |
) |
4854 |
|
|
4855 |
#define udhcpd_trivial_usage \ |
#define udhcpd_trivial_usage \ |
4856 |
"[-fS]" USE_FEATURE_UDHCP_PORT(" [-P N]") " [configfile]" \ |
"[-fS]" IF_FEATURE_UDHCP_PORT(" [-P N]") " [configfile]" \ |
4857 |
|
|
4858 |
#define udhcpd_full_usage "\n\n" \ |
#define udhcpd_full_usage "\n\n" \ |
4859 |
"DHCP server\n" \ |
"DHCP server\n" \ |
4860 |
"\n -f Run in foreground" \ |
"\n -f Run in foreground" \ |
4861 |
"\n -S Log to syslog too" \ |
"\n -S Log to syslog too" \ |
4862 |
USE_FEATURE_UDHCP_PORT( \ |
IF_FEATURE_UDHCP_PORT( \ |
4863 |
"\n -P N Use port N instead of default 67" \ |
"\n -P N Use port N instead of default 67" \ |
4864 |
) |
) |
4865 |
|
|
4866 |
#define umount_trivial_usage \ |
#define umount_trivial_usage \ |
4867 |
"[flags] FILESYSTEM|DIRECTORY" |
"[OPTIONS] FILESYSTEM|DIRECTORY" |
4868 |
#define umount_full_usage "\n\n" \ |
#define umount_full_usage "\n\n" \ |
4869 |
"Unmount file systems\n" \ |
"Unmount file systems\n" \ |
4870 |
"\nOptions:" \ |
"\nOptions:" \ |
4871 |
USE_FEATURE_UMOUNT_ALL( \ |
IF_FEATURE_UMOUNT_ALL( \ |
4872 |
"\n -a Unmount all file systems" USE_FEATURE_MTAB_SUPPORT(" in /etc/mtab") \ |
"\n -a Unmount all file systems" IF_FEATURE_MTAB_SUPPORT(" in /etc/mtab") \ |
4873 |
) \ |
) \ |
4874 |
USE_FEATURE_MTAB_SUPPORT( \ |
IF_FEATURE_MTAB_SUPPORT( \ |
4875 |
"\n -n Don't erase /etc/mtab entries" \ |
"\n -n Don't erase /etc/mtab entries" \ |
4876 |
) \ |
) \ |
4877 |
"\n -r Try to remount devices as read-only if mount is busy" \ |
"\n -r Try to remount devices as read-only if mount is busy" \ |
4878 |
"\n -l Lazy umount (detach filesystem)" \ |
"\n -l Lazy umount (detach filesystem)" \ |
4879 |
"\n -f Force umount (i.e., unreachable NFS server)" \ |
"\n -f Force umount (i.e., unreachable NFS server)" \ |
4880 |
USE_FEATURE_MOUNT_LOOP( \ |
IF_FEATURE_MOUNT_LOOP( \ |
4881 |
"\n -d Free loop device if it has been used" \ |
"\n -d Free loop device if it has been used" \ |
4882 |
) |
) |
4883 |
|
|
4887 |
#define uname_trivial_usage \ |
#define uname_trivial_usage \ |
4888 |
"[-amnrspv]" |
"[-amnrspv]" |
4889 |
#define uname_full_usage "\n\n" \ |
#define uname_full_usage "\n\n" \ |
4890 |
"Print system information.\n" \ |
"Print system information\n" \ |
4891 |
"\nOptions:" \ |
"\nOptions:" \ |
4892 |
"\n -a Print all" \ |
"\n -a Print all" \ |
4893 |
"\n -m The machine (hardware) type" \ |
"\n -m The machine (hardware) type" \ |
4902 |
"Linux debian 2.4.23 #2 Tue Dec 23 17:09:10 MST 2003 i686 GNU/Linux\n" |
"Linux debian 2.4.23 #2 Tue Dec 23 17:09:10 MST 2003 i686 GNU/Linux\n" |
4903 |
|
|
4904 |
#define uncompress_trivial_usage \ |
#define uncompress_trivial_usage \ |
4905 |
"[-c] [-f] [name...]" |
"[-c] [-f] [FILE]..." |
4906 |
#define uncompress_full_usage "\n\n" \ |
#define uncompress_full_usage "\n\n" \ |
4907 |
"Uncompress .Z file[s]\n" \ |
"Uncompress .Z file[s]\n" \ |
4908 |
"\nOptions:" \ |
"\nOptions:" \ |
4910 |
"\n -f Overwrite an existing file" \ |
"\n -f Overwrite an existing file" \ |
4911 |
|
|
4912 |
#define unexpand_trivial_usage \ |
#define unexpand_trivial_usage \ |
4913 |
"[-f][-a][-t NUM] [FILE|-]" |
"[-f][-a][-t N] [FILE|-]" |
4914 |
#define unexpand_full_usage "\n\n" \ |
#define unexpand_full_usage "\n\n" \ |
4915 |
"Convert spaces to tabs, writing to standard output.\n" \ |
"Convert spaces to tabs, writing to stdout\n" \ |
4916 |
"\nOptions:" \ |
"\nOptions:" \ |
4917 |
USE_FEATURE_UNEXPAND_LONG_OPTIONS( \ |
IF_FEATURE_UNEXPAND_LONG_OPTIONS( \ |
4918 |
"\n -a,--all Convert all blanks" \ |
"\n -a,--all Convert all blanks" \ |
4919 |
"\n -f,--first-only Convert only leading blanks" \ |
"\n -f,--first-only Convert only leading blanks" \ |
4920 |
"\n -t,--tabs=N Tabstops every N chars" \ |
"\n -t,--tabs=N Tabstops every N chars" \ |
4921 |
) \ |
) \ |
4922 |
SKIP_FEATURE_UNEXPAND_LONG_OPTIONS( \ |
IF_NOT_FEATURE_UNEXPAND_LONG_OPTIONS( \ |
4923 |
"\n -a Convert all blanks" \ |
"\n -a Convert all blanks" \ |
4924 |
"\n -f Convert only leading blanks" \ |
"\n -f Convert only leading blanks" \ |
4925 |
"\n -t N Tabstops every N chars" \ |
"\n -t N Tabstops every N chars" \ |
4943 |
"b\n" \ |
"b\n" \ |
4944 |
"c\n" |
"c\n" |
4945 |
|
|
|
#define unix2dos_trivial_usage \ |
|
|
"[option] [FILE]" |
|
|
#define unix2dos_full_usage "\n\n" \ |
|
|
"Convert FILE from unix to dos format.\n" \ |
|
|
"When no file is given, use stdin/stdout.\n" \ |
|
|
"\nOptions:" \ |
|
|
"\n -u dos2unix" \ |
|
|
"\n -d unix2dos" \ |
|
|
|
|
4946 |
#define unzip_trivial_usage \ |
#define unzip_trivial_usage \ |
4947 |
"[-opts[modifiers]] file[.zip] [list] [-x xlist] [-d exdir]" |
"[-opts[modifiers]] file[.zip] [list] [-x xlist] [-d exdir]" |
4948 |
#define unzip_full_usage "\n\n" \ |
#define unzip_full_usage "\n\n" \ |
4975 |
"[pauses for 1 second]\n" |
"[pauses for 1 second]\n" |
4976 |
|
|
4977 |
#define uudecode_trivial_usage \ |
#define uudecode_trivial_usage \ |
4978 |
"[-o outfile] [infile]" |
"[-o OUTFILE] [INFILE]" |
4979 |
#define uudecode_full_usage "\n\n" \ |
#define uudecode_full_usage "\n\n" \ |
4980 |
"Uudecode a file\n" \ |
"Uudecode a file\n" \ |
4981 |
"Finds outfile name in uuencoded source unless -o is given" |
"Finds outfile name in uuencoded source unless -o is given" |
4986 |
"-rwxr-xr-x 1 ams ams 245264 Jun 7 21:35 busybox\n" |
"-rwxr-xr-x 1 ams ams 245264 Jun 7 21:35 busybox\n" |
4987 |
|
|
4988 |
#define uuencode_trivial_usage \ |
#define uuencode_trivial_usage \ |
4989 |
"[-m] [infile] stored_filename" |
"[-m] [INFILE] STORED_FILENAME" |
4990 |
#define uuencode_full_usage "\n\n" \ |
#define uuencode_full_usage "\n\n" \ |
4991 |
"Uuencode a file to stdout\n" \ |
"Uuencode a file to stdout\n" \ |
4992 |
"\nOptions:" \ |
"\nOptions:" \ |
5000 |
"$\n" |
"$\n" |
5001 |
|
|
5002 |
#define vconfig_trivial_usage \ |
#define vconfig_trivial_usage \ |
5003 |
"COMMAND [OPTIONS]..." |
"COMMAND [OPTIONS]" |
5004 |
#define vconfig_full_usage "\n\n" \ |
#define vconfig_full_usage "\n\n" \ |
5005 |
"Create and remove virtual ethernet devices\n" \ |
"Create and remove virtual ethernet devices\n" \ |
5006 |
"\nOptions:" \ |
"\nOptions:" \ |
5012 |
"\n set_name_type [name-type]" \ |
"\n set_name_type [name-type]" \ |
5013 |
|
|
5014 |
#define vi_trivial_usage \ |
#define vi_trivial_usage \ |
5015 |
"[OPTION] [FILE]..." |
"[OPTIONS] [FILE]..." |
5016 |
#define vi_full_usage "\n\n" \ |
#define vi_full_usage "\n\n" \ |
5017 |
"Edit FILE\n" \ |
"Edit FILE\n" \ |
5018 |
"\nOptions:" \ |
"\nOptions:" \ |
5019 |
USE_FEATURE_VI_COLON( \ |
IF_FEATURE_VI_COLON( \ |
5020 |
"\n -c Initial command to run ($EXINIT also available)") \ |
"\n -c Initial command to run ($EXINIT also available)") \ |
5021 |
USE_FEATURE_VI_READONLY( \ |
IF_FEATURE_VI_READONLY( \ |
5022 |
"\n -R Read-only - do not write to the file") \ |
"\n -R Read-only") \ |
5023 |
"\n -H Short help regarding available features" \ |
"\n -H Short help regarding available features" \ |
5024 |
|
|
5025 |
#define vlock_trivial_usage \ |
#define vlock_trivial_usage \ |
5029 |
"\nOptions:" \ |
"\nOptions:" \ |
5030 |
"\n -a Lock all VTs" \ |
"\n -a Lock all VTs" \ |
5031 |
|
|
5032 |
|
#define volname_trivial_usage \ |
5033 |
|
"[DEVICE]" |
5034 |
|
#define volname_full_usage "\n\n" \ |
5035 |
|
"Show CD volume name of the DEVICE (default /dev/cdrom)" |
5036 |
|
|
5037 |
|
#define wall_trivial_usage \ |
5038 |
|
"[FILE]" |
5039 |
|
#define wall_full_usage "\n\n" \ |
5040 |
|
"Write content of FILE or stdin to all logged-in users" |
5041 |
|
#define wall_sample_usage \ |
5042 |
|
"echo foo | wall\n" \ |
5043 |
|
"wall ./mymessage" |
5044 |
|
|
5045 |
#define watch_trivial_usage \ |
#define watch_trivial_usage \ |
5046 |
"[-n seconds] [-t] COMMAND..." |
"[-n SEC] [-t] PROG ARGS" |
5047 |
#define watch_full_usage "\n\n" \ |
#define watch_full_usage "\n\n" \ |
5048 |
"Execute a program periodically\n" \ |
"Run PROG periodically\n" \ |
5049 |
"\nOptions:" \ |
"\nOptions:" \ |
5050 |
"\n -n Loop period in seconds (default 2)" \ |
"\n -n Loop period in seconds (default 2)" \ |
5051 |
"\n -t Don't print header" \ |
"\n -t Don't print header" \ |
5068 |
"\nUse 500ms to specify period in milliseconds" \ |
"\nUse 500ms to specify period in milliseconds" \ |
5069 |
|
|
5070 |
#define wc_trivial_usage \ |
#define wc_trivial_usage \ |
5071 |
"[OPTION]... [FILE]..." |
"[OPTIONS] [FILE]..." |
5072 |
#define wc_full_usage "\n\n" \ |
#define wc_full_usage "\n\n" \ |
5073 |
"Print line, word, and byte counts for each FILE, and a total line if\n" \ |
"Print line, word, and byte counts for each FILE (or stdin),\n" \ |
5074 |
"more than one FILE is specified. With no FILE, read standard input.\n" \ |
"and a total line if more than one FILE is specified\n" \ |
5075 |
"\nOptions:" \ |
"\nOptions:" \ |
5076 |
"\n -c Print the byte counts" \ |
"\n -c Print the byte counts" \ |
5077 |
"\n -l Print the newline counts" \ |
"\n -l Print the newline counts" \ |
5083 |
" 31 46 1365 /etc/passwd\n" |
" 31 46 1365 /etc/passwd\n" |
5084 |
|
|
5085 |
#define wget_trivial_usage \ |
#define wget_trivial_usage \ |
5086 |
USE_FEATURE_WGET_LONG_OPTIONS( \ |
IF_FEATURE_WGET_LONG_OPTIONS( \ |
5087 |
"[-c|--continue] [-s|--spider] [-q|--quiet] [-O|--output-document file]\n" \ |
"[-c|--continue] [-s|--spider] [-q|--quiet] [-O|--output-document file]\n" \ |
5088 |
" [--header 'header: value'] [-Y|--proxy on/off] [-P DIR]\n" \ |
" [--header 'header: value'] [-Y|--proxy on/off] [-P DIR]\n" \ |
5089 |
" [-U|--user-agent agent] url" \ |
" [--no-check-certificate] [-U|--user-agent agent] url" \ |
5090 |
) \ |
) \ |
5091 |
SKIP_FEATURE_WGET_LONG_OPTIONS( \ |
IF_NOT_FEATURE_WGET_LONG_OPTIONS( \ |
5092 |
"[-csq] [-O file] [-Y on/off] [-P DIR] [-U agent] url" \ |
"[-csq] [-O file] [-Y on/off] [-P DIR] [-U agent] url" \ |
5093 |
) |
) |
5094 |
#define wget_full_usage "\n\n" \ |
#define wget_full_usage "\n\n" \ |
5103 |
"\n -Y Use proxy ('on' or 'off')" \ |
"\n -Y Use proxy ('on' or 'off')" \ |
5104 |
|
|
5105 |
#define which_trivial_usage \ |
#define which_trivial_usage \ |
5106 |
"[COMMAND...]" |
"[COMMAND]..." |
5107 |
#define which_full_usage "\n\n" \ |
#define which_full_usage "\n\n" \ |
5108 |
"Locate a COMMAND" |
"Locate a COMMAND" |
5109 |
#define which_example_usage \ |
#define which_example_usage \ |
5123 |
"Print the user name associated with the current effective user id" |
"Print the user name associated with the current effective user id" |
5124 |
|
|
5125 |
#define xargs_trivial_usage \ |
#define xargs_trivial_usage \ |
5126 |
"[OPTIONS] [COMMAND] [ARGS...]" |
"[OPTIONS] [PROG ARGS]" |
5127 |
#define xargs_full_usage "\n\n" \ |
#define xargs_full_usage "\n\n" \ |
5128 |
"Execute COMMAND on every item given by standard input\n" \ |
"Run PROG on every item given by stdin\n" \ |
5129 |
"\nOptions:" \ |
"\nOptions:" \ |
5130 |
USE_FEATURE_XARGS_SUPPORT_CONFIRMATION( \ |
IF_FEATURE_XARGS_SUPPORT_CONFIRMATION( \ |
5131 |
"\n -p Ask user whether to run each command") \ |
"\n -p Ask user whether to run each command") \ |
5132 |
"\n -r Do not run command if input is empty" \ |
"\n -r Don't run command if input is empty" \ |
5133 |
USE_FEATURE_XARGS_SUPPORT_ZERO_TERM( \ |
IF_FEATURE_XARGS_SUPPORT_ZERO_TERM( \ |
5134 |
"\n -0 Input is separated by NUL characters") \ |
"\n -0 Input is separated by NUL characters") \ |
5135 |
"\n -t Print the command on stderr before execution" \ |
"\n -t Print the command on stderr before execution" \ |
5136 |
"\n -e[STR] STR stops input processing" \ |
"\n -e[STR] STR stops input processing" \ |
5137 |
"\n -n N Pass no more than N args to COMMAND" \ |
"\n -n N Pass no more than N args to PROG" \ |
5138 |
"\n -s N Pass command line of no more than N bytes" \ |
"\n -s N Pass command line of no more than N bytes" \ |
5139 |
USE_FEATURE_XARGS_SUPPORT_TERMOPT( \ |
IF_FEATURE_XARGS_SUPPORT_TERMOPT( \ |
5140 |
"\n -x Exit if size is exceeded") \ |
"\n -x Exit if size is exceeded") \ |
5141 |
|
|
5142 |
#define xargs_example_usage \ |
#define xargs_example_usage \ |
5144 |
"$ find . -name '*.c' -print | xargs rm\n" |
"$ find . -name '*.c' -print | xargs rm\n" |
5145 |
|
|
5146 |
#define yes_trivial_usage \ |
#define yes_trivial_usage \ |
5147 |
"[OPTION]... [STRING]..." |
"[OPTIONS] [STRING]" |
5148 |
#define yes_full_usage "\n\n" \ |
#define yes_full_usage "\n\n" \ |
5149 |
"Repeatedly output a line with all specified STRING(s), or 'y'" |
"Repeatedly output a line with STRING, or 'y'" |
5150 |
|
|
5151 |
#define zcat_trivial_usage \ |
#define zcat_trivial_usage \ |
5152 |
"FILE" |
"FILE" |
5154 |
"Uncompress to stdout" |
"Uncompress to stdout" |
5155 |
|
|
5156 |
#define zcip_trivial_usage \ |
#define zcip_trivial_usage \ |
5157 |
"[OPTIONS] ifname script" |
"[OPTIONS] IFACE SCRIPT" |
5158 |
#define zcip_full_usage "\n\n" \ |
#define zcip_full_usage "\n\n" \ |
5159 |
"Manage a ZeroConf IPv4 link-local address\n" \ |
"Manage a ZeroConf IPv4 link-local address\n" \ |
5160 |
"\nOptions:" \ |
"\nOptions:" \ |
5166 |
"\nWith no -q, runs continuously monitoring for ARP conflicts," \ |
"\nWith no -q, runs continuously monitoring for ARP conflicts," \ |
5167 |
"\nexits only on I/O errors (link down etc)" \ |
"\nexits only on I/O errors (link down etc)" \ |
5168 |
|
|
5169 |
#endif /* __BB_USAGE_H__ */ |
|
5170 |
|
#endif |