aboutsummaryrefslogtreecommitdiff
path: root/applets
diff options
context:
space:
mode:
authorandersen <andersen@69ca8d6d-28ef-0310-b511-8ec308f3f277>2001-08-21 16:18:59 +0000
committerandersen <andersen@69ca8d6d-28ef-0310-b511-8ec308f3f277>2001-08-21 16:18:59 +0000
commit6e33165982a8ba691371185cb898643ec9e78ba6 (patch)
tree9b048f58d1c11600df69323327124425a2f78f63 /applets
parentf55eed1a6ff910575e85e3bfa9cbae62039f8901 (diff)
downloadbusybox-w32-6e33165982a8ba691371185cb898643ec9e78ba6.tar.gz
busybox-w32-6e33165982a8ba691371185cb898643ec9e78ba6.tar.bz2
busybox-w32-6e33165982a8ba691371185cb898643ec9e78ba6.zip
Initial merge of all tinylogin applets that do not require crypt.
There is some optimization that can be done to better use libbb in these applets. There is also redundancy between stty and getty which could be eliminated. -Erik git-svn-id: svn://busybox.net/trunk/busybox@3318 69ca8d6d-28ef-0310-b511-8ec308f3f277
Diffstat (limited to 'applets')
-rw-r--r--applets/usage.h41
1 files changed, 41 insertions, 0 deletions
diff --git a/applets/usage.h b/applets/usage.h
index 13759d23f..ac980bf8c 100644
--- a/applets/usage.h
+++ b/applets/usage.h
@@ -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 \