summaryrefslogtreecommitdiffhomepage
path: root/loginutils
diff options
context:
space:
mode:
authorDenys Vlasenko <vda.linux@googlemail.com>2020-12-13 22:34:05 +0100
committerDenys Vlasenko <vda.linux@googlemail.com>2020-12-13 22:34:05 +0100
commit84d5eddb25930ee8a5ff96536ca6f707d793eb24 (patch)
tree21406cb8b2a2661459e3aba4428e74995d69368d /loginutils
parent63139b531f7f1d71d8274810b163da1a78d4609e (diff)
help text: replace [OPTIONS] with actual options (if not too long)
function old new delta packed_usage 33620 33665 +45 Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Diffstat (limited to 'loginutils')
-rw-r--r--loginutils/cryptpw.c10
1 files changed, 1 insertions, 9 deletions
diff --git a/loginutils/cryptpw.c b/loginutils/cryptpw.c
index fbb7f0515..645f1bb09 100644
--- a/loginutils/cryptpw.c
+++ b/loginutils/cryptpw.c
@@ -32,22 +32,14 @@
//kbuild:lib-$(CONFIG_MKPASSWD) += cryptpw.o
//usage:#define cryptpw_trivial_usage
-//usage: "[OPTIONS] [PASSWORD] [SALT]"
+//usage: "[-s] [-p N] [-m TYPE] [-S SALT] [PASSWORD] [SALT]"
/* We do support -s, we just don't mention it */
//usage:#define cryptpw_full_usage "\n\n"
//usage: "Print crypt(3) hashed PASSWORD\n"
-//usage: IF_LONG_OPTS(
-//usage: "\n -P,--password-fd N Read password from fd N"
-/* //usage: "\n -s,--stdin Use stdin; like -P0" */
-//usage: "\n -m,--method TYPE "CRYPT_METHODS_HELP_STR
-//usage: "\n -S,--salt SALT"
-//usage: )
-//usage: IF_NOT_LONG_OPTS(
//usage: "\n -P N Read password from fd N"
/* //usage: "\n -s Use stdin; like -P0" */
//usage: "\n -m TYPE "CRYPT_METHODS_HELP_STR
//usage: "\n -S SALT"
-//usage: )
#include "libbb.h"