From 66426760beef7e87c4735f433d123daf911b5b4a Mon Sep 17 00:00:00 2001 From: Denys Vlasenko Date: Sun, 5 Jun 2011 03:58:28 +0200 Subject: *: remove "Options:" string from help texts function old new delta packed_usage 28706 28623 -83 Signed-off-by: Denys Vlasenko --- loginutils/addgroup.c | 1 - loginutils/adduser.c | 1 - loginutils/chpasswd.c | 1 - loginutils/cryptpw.c | 2 -- loginutils/getty.c | 1 - loginutils/login.c | 1 - loginutils/passwd.c | 1 - loginutils/su.c | 1 - loginutils/sulogin.c | 1 - loginutils/vlock.c | 1 - 10 files changed, 11 deletions(-) (limited to 'loginutils') 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 @@ //usage: "[-g GID] " IF_FEATURE_ADDUSER_TO_GROUP("[USER] ") "GROUP" //usage:#define addgroup_full_usage "\n\n" //usage: "Add a group " IF_FEATURE_ADDUSER_TO_GROUP("or add a user to a group") "\n" -//usage: "\nOptions:" //usage: "\n -g GID Group id" //usage: "\n -S Create a system group" 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 @@ //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" 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 @@ //usage: IF_LONG_OPTS("[--md5|--encrypted]") IF_NOT_LONG_OPTS("[-m|-e]") //usage:#define chpasswd_full_usage "\n\n" //usage: "Read user:password from stdin and update /etc/passwd\n" -//usage: "\nOptions:" //usage: IF_LONG_OPTS( //usage: "\n -e,--encrypted Supplied passwords are in encrypted form" //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 @@ /* We do support -s, we just don't mention it */ //usage:#define cryptpw_full_usage "\n\n" //usage: "Crypt PASSWORD using crypt(3)\n" -//usage: "\nOptions:" //usage: IF_LONG_OPTS( //usage: "\n -P,--password-fd=N Read password from fd N" /* //usage: "\n -s,--stdin Use stdin; like -P0" */ @@ -35,7 +34,6 @@ /* We do support -s, we just don't mention it */ //usage:#define mkpasswd_full_usage "\n\n" //usage: "Crypt PASSWORD using crypt(3)\n" -//usage: "\nOptions:" //usage: IF_LONG_OPTS( //usage: "\n -P,--password-fd=N Read password from fd N" /* //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 { //usage: "[OPTIONS] BAUD_RATE[,BAUD_RATE]... TTY [TERMTYPE]" //usage:#define getty_full_usage "\n\n" //usage: "Open a tty, prompt for a login name, then invoke /bin/login\n" -//usage: "\nOptions:" //usage: "\n -h Enable hardware RTS/CTS flow control" //usage: "\n -L Set CLOCAL (ignore Carrier Detect state)" //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 @@ //usage: "[-p] [-h HOST] [[-f] USER]" //usage:#define login_full_usage "\n\n" //usage: "Begin a new session on the system\n" -//usage: "\nOptions:" //usage: "\n -f Don't authenticate (user already authenticated)" //usage: "\n -h Name of the remote host" //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 @@ //usage:#define passwd_full_usage "\n\n" //usage: "Change USER's password (default: current user)" //usage: "\n" -//usage: "\nOptions:" //usage: "\n -a ALG Encryption method" //usage: "\n -d Set password to ''" //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 @@ //usage: "[OPTIONS] [-] [USER]" //usage:#define su_full_usage "\n\n" //usage: "Run shell under USER (by default, root)\n" -//usage: "\nOptions:" //usage: "\n -,-l Clear environment, run shell as login shell" //usage: "\n -p,-m Do not set new $HOME, $SHELL, $USER, $LOGNAME" //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 @@ //usage: "[-t N] [TTY]" //usage:#define sulogin_full_usage "\n\n" //usage: "Single user login\n" -//usage: "\nOptions:" //usage: "\n -t N Timeout" #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 @@ //usage: "[-a]" //usage:#define vlock_full_usage "\n\n" //usage: "Lock a virtual terminal. A password is required to unlock.\n" -//usage: "\nOptions:" //usage: "\n -a Lock all VTs" #include "libbb.h" -- cgit v1.2.3