diff options
author | Pere Orga <gotrunks@gmail.com> | 2011-04-01 22:56:30 +0200 |
---|---|---|
committer | Denys Vlasenko <vda.linux@googlemail.com> | 2011-04-03 01:33:55 +0200 |
commit | 6a3e01d5a9f979f7d6e52665c2bf6c74e2592980 (patch) | |
tree | b7d40d6e0c6042f0d102101ff7b5784d2f0536ba /loginutils/chpasswd.c | |
parent | fa9126e68904b16aee2a0fc47688ffe17403152a (diff) | |
download | busybox-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/chpasswd.c')
-rw-r--r-- | loginutils/chpasswd.c | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/loginutils/chpasswd.c b/loginutils/chpasswd.c index 48cf9b130..c2d86664d 100644 --- a/loginutils/chpasswd.c +++ b/loginutils/chpasswd.c | |||
@@ -7,6 +7,20 @@ | |||
7 | */ | 7 | */ |
8 | #include "libbb.h" | 8 | #include "libbb.h" |
9 | 9 | ||
10 | //usage:#define chpasswd_trivial_usage | ||
11 | //usage: IF_LONG_OPTS("[--md5|--encrypted]") IF_NOT_LONG_OPTS("[-m|-e]") | ||
12 | //usage:#define chpasswd_full_usage "\n\n" | ||
13 | //usage: "Read user:password from stdin and update /etc/passwd\n" | ||
14 | //usage: "\nOptions:" | ||
15 | //usage: IF_LONG_OPTS( | ||
16 | //usage: "\n -e,--encrypted Supplied passwords are in encrypted form" | ||
17 | //usage: "\n -m,--md5 Use MD5 encryption instead of DES" | ||
18 | //usage: ) | ||
19 | //usage: IF_NOT_LONG_OPTS( | ||
20 | //usage: "\n -e Supplied passwords are in encrypted form" | ||
21 | //usage: "\n -m Use MD5 encryption instead of DES" | ||
22 | //usage: ) | ||
23 | |||
10 | #if ENABLE_LONG_OPTS | 24 | #if ENABLE_LONG_OPTS |
11 | static const char chpasswd_longopts[] ALIGN1 = | 25 | static const char chpasswd_longopts[] ALIGN1 = |
12 | "encrypted\0" No_argument "e" | 26 | "encrypted\0" No_argument "e" |