diff options
Diffstat (limited to 'usage.h')
-rw-r--r-- | usage.h | 41 |
1 files changed, 41 insertions, 0 deletions
@@ -1,3 +1,19 @@ | |||
1 | #define addgroup_trivial_usage \ | ||
2 | "[OPTIONS] <group_name>" | ||
3 | #define addgroup_full_usage \ | ||
4 | "Adds a group to the system" \ | ||
5 | "Options:\n" \ | ||
6 | "\t-g\t\tspecify gid\n" | ||
7 | |||
8 | #define adduser_trivial_usage \ | ||
9 | "[OPTIONS] <user_name>" | ||
10 | #define adduser_full_usage \ | ||
11 | "Adds a user to the system" \ | ||
12 | "Options:\n" \ | ||
13 | "\t-h\t\thome directory\n" \ | ||
14 | "\t-s\t\tshell\n" \ | ||
15 | "\t-g\t\tGECOS string\n" | ||
16 | |||
1 | #define adjtimex_trivial_usage \ | 17 | #define adjtimex_trivial_usage \ |
2 | "[-q] [-o offset] [-f frequency] [-p timeconstant] [-t tick]" | 18 | "[-q] [-o offset] [-f frequency] [-p timeconstant] [-t tick]" |
3 | #define adjtimex_full_usage \ | 19 | #define adjtimex_full_usage \ |
@@ -215,6 +231,15 @@ | |||
215 | #define deallocvt_full_usage \ | 231 | #define deallocvt_full_usage \ |
216 | "Deallocate unused virtual terminal /dev/ttyN" | 232 | "Deallocate unused virtual terminal /dev/ttyN" |
217 | 233 | ||
234 | #define delgroup_trivial_usage \ | ||
235 | "GROUP" | ||
236 | #define delgroup_full_usage \ | ||
237 | "Deletes group GROUP from the system" | ||
238 | |||
239 | #define deluser_trivial_usage \ | ||
240 | "USER" | ||
241 | #define deluser_full_usage \ | ||
242 | "Deletes user USER from the system" | ||
218 | 243 | ||
219 | #ifdef BB_FEATURE_HUMAN_READABLE | 244 | #ifdef BB_FEATURE_HUMAN_READABLE |
220 | #define USAGE_HUMAN_READABLE(a) a | 245 | #define USAGE_HUMAN_READABLE(a) a |
@@ -533,6 +558,22 @@ | |||
533 | " esac\n" \ | 558 | " esac\n" \ |
534 | "done\n" | 559 | "done\n" |
535 | 560 | ||
561 | #define getty_trivial_usage \ | ||
562 | "getty [OPTIONS]... baud_rate,... line [termtype]" | ||
563 | #define getty_full_usage \ | ||
564 | "\nOpens a tty, prompts for a login name, then invokes /bin/login\n\n" \ | ||
565 | "Options:\n" \ | ||
566 | "\t-h\t\tEnable hardware (RTS/CTS) flow control.\n" \ | ||
567 | "\t-i\t\tDo not display /etc/issue before running login.\n" \ | ||
568 | "\t-L\t\tLocal line, so do not do carrier detect.\n" \ | ||
569 | "\t-m\t\tGet baud rate from modem's CONNECT status message.\n" \ | ||
570 | "\t-w\t\tWait for a CR or LF before sending /etc/issue.\n" \ | ||
571 | "\t-l login_app\tInvoke login_app instead of /bin/login.\n" \ | ||
572 | "\t-t timeout\tTerminate after timeout if no username is read.\n" \ | ||
573 | "\t-I initstring\tSets the init string to send before anything else.\n" \ | ||
574 | "\t-H login_host\tLog login_host into the utmp file as the hostname." | ||
575 | |||
576 | |||
536 | #define grep_trivial_usage \ | 577 | #define grep_trivial_usage \ |
537 | "[-ihHnqvs] PATTERN [FILEs...]" | 578 | "[-ihHnqvs] PATTERN [FILEs...]" |
538 | #define grep_full_usage \ | 579 | #define grep_full_usage \ |