aboutsummaryrefslogtreecommitdiff
path: root/loginutils/adduser.c
diff options
context:
space:
mode:
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