aboutsummaryrefslogtreecommitdiff
path: root/loginutils/adduser.c
diff options
context:
space:
mode:
authorPere Orga <gotrunks@gmail.com>2011-04-01 22:56:30 +0200
committerDenys Vlasenko <vda.linux@googlemail.com>2011-04-03 01:33:55 +0200
commit6a3e01d5a9f979f7d6e52665c2bf6c74e2592980 (patch)
treeb7d40d6e0c6042f0d102101ff7b5784d2f0536ba /loginutils/adduser.c
parentfa9126e68904b16aee2a0fc47688ffe17403152a (diff)
downloadbusybox-w32-6a3e01d5a9f979f7d6e52665c2bf6c74e2592980.tar.gz
busybox-w32-6a3e01d5a9f979f7d6e52665c2bf6c74e2592980.tar.bz2
busybox-w32-6a3e01d5a9f979f7d6e52665c2bf6c74e2592980.zip
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.c15
1 files changed, 15 insertions, 0 deletions
diff --git a/loginutils/adduser.c b/loginutils/adduser.c
index 0c675caf9..1944d9d56 100644
--- a/loginutils/adduser.c
+++ b/loginutils/adduser.c
@@ -7,6 +7,21 @@
7 * 7 *
8 * Licensed under GPLv2 or later, see file LICENSE in this source tree. 8 * Licensed under GPLv2 or later, see file LICENSE in this source tree.
9 */ 9 */
10
11//usage:#define adduser_trivial_usage
12//usage: "[OPTIONS] USER"
13//usage:#define adduser_full_usage "\n\n"
14//usage: "Add a user\n"
15//usage: "\nOptions:"
16//usage: "\n -h DIR Home directory"
17//usage: "\n -g GECOS GECOS field"
18//usage: "\n -s SHELL Login shell"
19//usage: "\n -G GRP Add user to existing group"
20//usage: "\n -S Create a system user"
21//usage: "\n -D Don't assign a password"
22//usage: "\n -H Don't create home directory"
23//usage: "\n -u UID User id"
24
10#include "libbb.h" 25#include "libbb.h"
11 26
12#if CONFIG_LAST_SYSTEM_ID < CONFIG_FIRST_SYSTEM_ID 27#if CONFIG_LAST_SYSTEM_ID < CONFIG_FIRST_SYSTEM_ID