summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorDenis Vlasenko2009-04-22 21:35:52 +0000
committerDenis Vlasenko2009-04-22 21:35:52 +0000
commitc2931aa2df2ddc6a627f3c40eb1cf5c221067092 (patch)
tree8b4b92c8c5bea933f7ea68302328bd17c0610b4a /include
parentc8d7109f6036fab6b5993c24fc6514ba0c6a7d3d (diff)
downloadbusybox-c2931aa2df2ddc6a627f3c40eb1cf5c221067092.zip
busybox-c2931aa2df2ddc6a627f3c40eb1cf5c221067092.tar.gz
adduser/addgroup: support specifying uid/gid, add system
account creation mode. By Tito. function old new delta adduser_main 650 726 +76 addgroup_main 341 402 +61 addgroup_longopts - 16 +16 adduser_longopts 97 103 +6 packed_usage 26161 26163 +2 ------------------------------------------------------------------------------ (add/remove: 1/0 grow/shrink: 4/0 up/down: 161/0) Total: 161 bytes
Diffstat (limited to 'include')
-rw-r--r--include/usage.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/usage.h b/include/usage.h
index 9294e89..7b88a2a 100644
--- a/include/usage.h
+++ b/include/usage.h
@@ -39,6 +39,7 @@
"Add a group " IF_FEATURE_ADDUSER_TO_GROUP("or add a user to a group") "\n" \
"\nOptions:" \
"\n -g GID Group id" \
+ "\n -S Create a system group" \
#define adduser_trivial_usage \
"[OPTIONS] user_name"
@@ -52,6 +53,7 @@
"\n -S Create a system user" \
"\n -D Do not assign a password" \
"\n -H Do not create home directory" \
+ "\n -u UID User id" \
#define adjtimex_trivial_usage \
"[-q] [-o offset] [-f frequency] [-p timeconstant] [-t tick]"