diff options
author | Denys Vlasenko <vda.linux@googlemail.com> | 2011-06-05 03:58:28 +0200 |
---|---|---|
committer | Denys Vlasenko <vda.linux@googlemail.com> | 2011-06-05 03:58:28 +0200 |
commit | 66426760beef7e87c4735f433d123daf911b5b4a (patch) | |
tree | 7aa341ba4d1b01b69feeb878d1b78f974207abb0 /loginutils | |
parent | 9f7780250ce4bbee9c0a8f1044875e303479e196 (diff) | |
download | busybox-w32-66426760beef7e87c4735f433d123daf911b5b4a.tar.gz busybox-w32-66426760beef7e87c4735f433d123daf911b5b4a.tar.bz2 busybox-w32-66426760beef7e87c4735f433d123daf911b5b4a.zip |
*: remove "Options:" string from help texts
function old new delta
packed_usage 28706 28623 -83
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Diffstat (limited to 'loginutils')
-rw-r--r-- | loginutils/addgroup.c | 1 | ||||
-rw-r--r-- | loginutils/adduser.c | 1 | ||||
-rw-r--r-- | loginutils/chpasswd.c | 1 | ||||
-rw-r--r-- | loginutils/cryptpw.c | 2 | ||||
-rw-r--r-- | loginutils/getty.c | 1 | ||||
-rw-r--r-- | loginutils/login.c | 1 | ||||
-rw-r--r-- | loginutils/passwd.c | 1 | ||||
-rw-r--r-- | loginutils/su.c | 1 | ||||
-rw-r--r-- | loginutils/sulogin.c | 1 | ||||
-rw-r--r-- | loginutils/vlock.c | 1 |
10 files changed, 0 insertions, 11 deletions
diff --git a/loginutils/addgroup.c b/loginutils/addgroup.c index 2d6736f1a..b37270ff0 100644 --- a/loginutils/addgroup.c +++ b/loginutils/addgroup.c | |||
@@ -14,7 +14,6 @@ | |||
14 | //usage: "[-g GID] " IF_FEATURE_ADDUSER_TO_GROUP("[USER] ") "GROUP" | 14 | //usage: "[-g GID] " IF_FEATURE_ADDUSER_TO_GROUP("[USER] ") "GROUP" |
15 | //usage:#define addgroup_full_usage "\n\n" | 15 | //usage:#define addgroup_full_usage "\n\n" |
16 | //usage: "Add a group " IF_FEATURE_ADDUSER_TO_GROUP("or add a user to a group") "\n" | 16 | //usage: "Add a group " IF_FEATURE_ADDUSER_TO_GROUP("or add a user to a group") "\n" |
17 | //usage: "\nOptions:" | ||
18 | //usage: "\n -g GID Group id" | 17 | //usage: "\n -g GID Group id" |
19 | //usage: "\n -S Create a system group" | 18 | //usage: "\n -S Create a system group" |
20 | 19 | ||
diff --git a/loginutils/adduser.c b/loginutils/adduser.c index 47c674bf4..1d082c876 100644 --- a/loginutils/adduser.c +++ b/loginutils/adduser.c | |||
@@ -12,7 +12,6 @@ | |||
12 | //usage: "[OPTIONS] USER" | 12 | //usage: "[OPTIONS] USER" |
13 | //usage:#define adduser_full_usage "\n\n" | 13 | //usage:#define adduser_full_usage "\n\n" |
14 | //usage: "Add a user\n" | 14 | //usage: "Add a user\n" |
15 | //usage: "\nOptions:" | ||
16 | //usage: "\n -h DIR Home directory" | 15 | //usage: "\n -h DIR Home directory" |
17 | //usage: "\n -g GECOS GECOS field" | 16 | //usage: "\n -g GECOS GECOS field" |
18 | //usage: "\n -s SHELL Login shell" | 17 | //usage: "\n -s SHELL Login shell" |
diff --git a/loginutils/chpasswd.c b/loginutils/chpasswd.c index f4718c829..2262b792a 100644 --- a/loginutils/chpasswd.c +++ b/loginutils/chpasswd.c | |||
@@ -11,7 +11,6 @@ | |||
11 | //usage: IF_LONG_OPTS("[--md5|--encrypted]") IF_NOT_LONG_OPTS("[-m|-e]") | 11 | //usage: IF_LONG_OPTS("[--md5|--encrypted]") IF_NOT_LONG_OPTS("[-m|-e]") |
12 | //usage:#define chpasswd_full_usage "\n\n" | 12 | //usage:#define chpasswd_full_usage "\n\n" |
13 | //usage: "Read user:password from stdin and update /etc/passwd\n" | 13 | //usage: "Read user:password from stdin and update /etc/passwd\n" |
14 | //usage: "\nOptions:" | ||
15 | //usage: IF_LONG_OPTS( | 14 | //usage: IF_LONG_OPTS( |
16 | //usage: "\n -e,--encrypted Supplied passwords are in encrypted form" | 15 | //usage: "\n -e,--encrypted Supplied passwords are in encrypted form" |
17 | //usage: "\n -m,--md5 Use MD5 encryption instead of DES" | 16 | //usage: "\n -m,--md5 Use MD5 encryption instead of DES" |
diff --git a/loginutils/cryptpw.c b/loginutils/cryptpw.c index b25a39ac9..b244f55e3 100644 --- a/loginutils/cryptpw.c +++ b/loginutils/cryptpw.c | |||
@@ -15,7 +15,6 @@ | |||
15 | /* We do support -s, we just don't mention it */ | 15 | /* We do support -s, we just don't mention it */ |
16 | //usage:#define cryptpw_full_usage "\n\n" | 16 | //usage:#define cryptpw_full_usage "\n\n" |
17 | //usage: "Crypt PASSWORD using crypt(3)\n" | 17 | //usage: "Crypt PASSWORD using crypt(3)\n" |
18 | //usage: "\nOptions:" | ||
19 | //usage: IF_LONG_OPTS( | 18 | //usage: IF_LONG_OPTS( |
20 | //usage: "\n -P,--password-fd=N Read password from fd N" | 19 | //usage: "\n -P,--password-fd=N Read password from fd N" |
21 | /* //usage: "\n -s,--stdin Use stdin; like -P0" */ | 20 | /* //usage: "\n -s,--stdin Use stdin; like -P0" */ |
@@ -35,7 +34,6 @@ | |||
35 | /* We do support -s, we just don't mention it */ | 34 | /* We do support -s, we just don't mention it */ |
36 | //usage:#define mkpasswd_full_usage "\n\n" | 35 | //usage:#define mkpasswd_full_usage "\n\n" |
37 | //usage: "Crypt PASSWORD using crypt(3)\n" | 36 | //usage: "Crypt PASSWORD using crypt(3)\n" |
38 | //usage: "\nOptions:" | ||
39 | //usage: IF_LONG_OPTS( | 37 | //usage: IF_LONG_OPTS( |
40 | //usage: "\n -P,--password-fd=N Read password from fd N" | 38 | //usage: "\n -P,--password-fd=N Read password from fd N" |
41 | /* //usage: "\n -s,--stdin Use stdin; like -P0" */ | 39 | /* //usage: "\n -s,--stdin Use stdin; like -P0" */ |
diff --git a/loginutils/getty.c b/loginutils/getty.c index dfa15b3da..62456651b 100644 --- a/loginutils/getty.c +++ b/loginutils/getty.c | |||
@@ -105,7 +105,6 @@ struct globals { | |||
105 | //usage: "[OPTIONS] BAUD_RATE[,BAUD_RATE]... TTY [TERMTYPE]" | 105 | //usage: "[OPTIONS] BAUD_RATE[,BAUD_RATE]... TTY [TERMTYPE]" |
106 | //usage:#define getty_full_usage "\n\n" | 106 | //usage:#define getty_full_usage "\n\n" |
107 | //usage: "Open a tty, prompt for a login name, then invoke /bin/login\n" | 107 | //usage: "Open a tty, prompt for a login name, then invoke /bin/login\n" |
108 | //usage: "\nOptions:" | ||
109 | //usage: "\n -h Enable hardware RTS/CTS flow control" | 108 | //usage: "\n -h Enable hardware RTS/CTS flow control" |
110 | //usage: "\n -L Set CLOCAL (ignore Carrier Detect state)" | 109 | //usage: "\n -L Set CLOCAL (ignore Carrier Detect state)" |
111 | //usage: "\n -m Get baud rate from modem's CONNECT status message" | 110 | //usage: "\n -m Get baud rate from modem's CONNECT status message" |
diff --git a/loginutils/login.c b/loginutils/login.c index f2563dc09..2f7b9b212 100644 --- a/loginutils/login.c +++ b/loginutils/login.c | |||
@@ -7,7 +7,6 @@ | |||
7 | //usage: "[-p] [-h HOST] [[-f] USER]" | 7 | //usage: "[-p] [-h HOST] [[-f] USER]" |
8 | //usage:#define login_full_usage "\n\n" | 8 | //usage:#define login_full_usage "\n\n" |
9 | //usage: "Begin a new session on the system\n" | 9 | //usage: "Begin a new session on the system\n" |
10 | //usage: "\nOptions:" | ||
11 | //usage: "\n -f Don't authenticate (user already authenticated)" | 10 | //usage: "\n -f Don't authenticate (user already authenticated)" |
12 | //usage: "\n -h Name of the remote host" | 11 | //usage: "\n -h Name of the remote host" |
13 | //usage: "\n -p Preserve environment" | 12 | //usage: "\n -p Preserve environment" |
diff --git a/loginutils/passwd.c b/loginutils/passwd.c index b3ce646f1..1cfafaec3 100644 --- a/loginutils/passwd.c +++ b/loginutils/passwd.c | |||
@@ -8,7 +8,6 @@ | |||
8 | //usage:#define passwd_full_usage "\n\n" | 8 | //usage:#define passwd_full_usage "\n\n" |
9 | //usage: "Change USER's password (default: current user)" | 9 | //usage: "Change USER's password (default: current user)" |
10 | //usage: "\n" | 10 | //usage: "\n" |
11 | //usage: "\nOptions:" | ||
12 | //usage: "\n -a ALG Encryption method" | 11 | //usage: "\n -a ALG Encryption method" |
13 | //usage: "\n -d Set password to ''" | 12 | //usage: "\n -d Set password to ''" |
14 | //usage: "\n -l Lock (disable) account" | 13 | //usage: "\n -l Lock (disable) account" |
diff --git a/loginutils/su.c b/loginutils/su.c index 72dd0f06f..57ea738f4 100644 --- a/loginutils/su.c +++ b/loginutils/su.c | |||
@@ -12,7 +12,6 @@ | |||
12 | //usage: "[OPTIONS] [-] [USER]" | 12 | //usage: "[OPTIONS] [-] [USER]" |
13 | //usage:#define su_full_usage "\n\n" | 13 | //usage:#define su_full_usage "\n\n" |
14 | //usage: "Run shell under USER (by default, root)\n" | 14 | //usage: "Run shell under USER (by default, root)\n" |
15 | //usage: "\nOptions:" | ||
16 | //usage: "\n -,-l Clear environment, run shell as login shell" | 15 | //usage: "\n -,-l Clear environment, run shell as login shell" |
17 | //usage: "\n -p,-m Do not set new $HOME, $SHELL, $USER, $LOGNAME" | 16 | //usage: "\n -p,-m Do not set new $HOME, $SHELL, $USER, $LOGNAME" |
18 | //usage: "\n -c CMD Command to pass to 'sh -c'" | 17 | //usage: "\n -c CMD Command to pass to 'sh -c'" |
diff --git a/loginutils/sulogin.c b/loginutils/sulogin.c index 28edf067c..bd2b09eed 100644 --- a/loginutils/sulogin.c +++ b/loginutils/sulogin.c | |||
@@ -9,7 +9,6 @@ | |||
9 | //usage: "[-t N] [TTY]" | 9 | //usage: "[-t N] [TTY]" |
10 | //usage:#define sulogin_full_usage "\n\n" | 10 | //usage:#define sulogin_full_usage "\n\n" |
11 | //usage: "Single user login\n" | 11 | //usage: "Single user login\n" |
12 | //usage: "\nOptions:" | ||
13 | //usage: "\n -t N Timeout" | 12 | //usage: "\n -t N Timeout" |
14 | 13 | ||
15 | #include "libbb.h" | 14 | #include "libbb.h" |
diff --git a/loginutils/vlock.c b/loginutils/vlock.c index efad63ff3..75af9390e 100644 --- a/loginutils/vlock.c +++ b/loginutils/vlock.c | |||
@@ -19,7 +19,6 @@ | |||
19 | //usage: "[-a]" | 19 | //usage: "[-a]" |
20 | //usage:#define vlock_full_usage "\n\n" | 20 | //usage:#define vlock_full_usage "\n\n" |
21 | //usage: "Lock a virtual terminal. A password is required to unlock.\n" | 21 | //usage: "Lock a virtual terminal. A password is required to unlock.\n" |
22 | //usage: "\nOptions:" | ||
23 | //usage: "\n -a Lock all VTs" | 22 | //usage: "\n -a Lock all VTs" |
24 | 23 | ||
25 | #include "libbb.h" | 24 | #include "libbb.h" |