summaryrefslogtreecommitdiff
path: root/usage.h
diff options
context:
space:
mode:
authorEric Andersen2001-08-21 16:18:59 +0000
committerEric Andersen2001-08-21 16:18:59 +0000
commitf349e978c43b5061bf9dd3d05b5a30e2da039f60 (patch)
tree9b048f58d1c11600df69323327124425a2f78f63 /usage.h
parenta3e4f455ac0265d9f2477300054f504f563b0c58 (diff)
downloadbusybox-f349e978c43b5061bf9dd3d05b5a30e2da039f60.zip
busybox-f349e978c43b5061bf9dd3d05b5a30e2da039f60.tar.gz
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
Diffstat (limited to 'usage.h')
-rw-r--r--usage.h41
1 files changed, 41 insertions, 0 deletions
diff --git a/usage.h b/usage.h
index 13759d2..ac980bf 100644
--- a/usage.h
+++ b/usage.h
@@ -1,3 +1,19 @@
+#define addgroup_trivial_usage \
+ "[OPTIONS] <group_name>"
+#define addgroup_full_usage \
+ "Adds a group to the system" \
+ "Options:\n" \
+ "\t-g\t\tspecify gid\n"
+
+#define adduser_trivial_usage \
+ "[OPTIONS] <user_name>"
+#define adduser_full_usage \
+ "Adds a user to the system" \
+ "Options:\n" \
+ "\t-h\t\thome directory\n" \
+ "\t-s\t\tshell\n" \
+ "\t-g\t\tGECOS string\n"
+
#define adjtimex_trivial_usage \
"[-q] [-o offset] [-f frequency] [-p timeconstant] [-t tick]"
#define adjtimex_full_usage \
@@ -215,6 +231,15 @@
#define deallocvt_full_usage \
"Deallocate unused virtual terminal /dev/ttyN"
+#define delgroup_trivial_usage \
+ "GROUP"
+#define delgroup_full_usage \
+ "Deletes group GROUP from the system"
+
+#define deluser_trivial_usage \
+ "USER"
+#define deluser_full_usage \
+ "Deletes user USER from the system"
#ifdef BB_FEATURE_HUMAN_READABLE
#define USAGE_HUMAN_READABLE(a) a
@@ -533,6 +558,22 @@
" esac\n" \
"done\n"
+#define getty_trivial_usage \
+ "getty [OPTIONS]... baud_rate,... line [termtype]"
+#define getty_full_usage \
+ "\nOpens a tty, prompts for a login name, then invokes /bin/login\n\n" \
+ "Options:\n" \
+ "\t-h\t\tEnable hardware (RTS/CTS) flow control.\n" \
+ "\t-i\t\tDo not display /etc/issue before running login.\n" \
+ "\t-L\t\tLocal line, so do not do carrier detect.\n" \
+ "\t-m\t\tGet baud rate from modem's CONNECT status message.\n" \
+ "\t-w\t\tWait for a CR or LF before sending /etc/issue.\n" \
+ "\t-l login_app\tInvoke login_app instead of /bin/login.\n" \
+ "\t-t timeout\tTerminate after timeout if no username is read.\n" \
+ "\t-I initstring\tSets the init string to send before anything else.\n" \
+ "\t-H login_host\tLog login_host into the utmp file as the hostname."
+
+
#define grep_trivial_usage \
"[-ihHnqvs] PATTERN [FILEs...]"
#define grep_full_usage \