diff options
author | Pere Orga | 2011-04-01 22:56:30 +0200 |
---|---|---|
committer | Denys Vlasenko | 2011-04-03 01:33:55 +0200 |
commit | 6a3e01d5a9f979f7d6e52665c2bf6c74e2592980 (patch) | |
tree | b7d40d6e0c6042f0d102101ff7b5784d2f0536ba /loginutils/adduser.c | |
parent | fa9126e68904b16aee2a0fc47688ffe17403152a (diff) | |
download | busybox-6a3e01d5a9f979f7d6e52665c2bf6c74e2592980.zip busybox-6a3e01d5a9f979f7d6e52665c2bf6c74e2592980.tar.gz |
move help text from include/usage.src.h to debianutils/*.c e2fsprogs/*.c editors/*.c loginutils/*.c mailutils/*.c
Signed-off-by: Pere Orga <gotrunks@gmail.com>
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Diffstat (limited to 'loginutils/adduser.c')
-rw-r--r-- | loginutils/adduser.c | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/loginutils/adduser.c b/loginutils/adduser.c index 0c675ca..1944d9d 100644 --- a/loginutils/adduser.c +++ b/loginutils/adduser.c @@ -7,6 +7,21 @@ * * Licensed under GPLv2 or later, see file LICENSE in this source tree. */ + +//usage:#define adduser_trivial_usage +//usage: "[OPTIONS] USER" +//usage:#define adduser_full_usage "\n\n" +//usage: "Add a user\n" +//usage: "\nOptions:" +//usage: "\n -h DIR Home directory" +//usage: "\n -g GECOS GECOS field" +//usage: "\n -s SHELL Login shell" +//usage: "\n -G GRP Add user to existing group" +//usage: "\n -S Create a system user" +//usage: "\n -D Don't assign a password" +//usage: "\n -H Don't create home directory" +//usage: "\n -u UID User id" + #include "libbb.h" #if CONFIG_LAST_SYSTEM_ID < CONFIG_FIRST_SYSTEM_ID |