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/cryptpw.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/cryptpw.c')
-rw-r--r-- | loginutils/cryptpw.c | 39 |
1 files changed, 39 insertions, 0 deletions
diff --git a/loginutils/cryptpw.c b/loginutils/cryptpw.c index 6c801f9fa..72388c492 100644 --- a/loginutils/cryptpw.c +++ b/loginutils/cryptpw.c | |||
@@ -10,6 +10,45 @@ | |||
10 | * Licensed under GPLv2, see file LICENSE in this source tree. | 10 | * Licensed under GPLv2, see file LICENSE in this source tree. |
11 | */ | 11 | */ |
12 | 12 | ||
13 | //usage:#define cryptpw_trivial_usage | ||
14 | //usage: "[OPTIONS] [PASSWORD] [SALT]" | ||
15 | /* We do support -s, we just don't mention it */ | ||
16 | //usage:#define cryptpw_full_usage "\n\n" | ||
17 | //usage: "Crypt the PASSWORD using crypt(3)\n" | ||
18 | //usage: "\nOptions:" | ||
19 | //usage: IF_LONG_OPTS( | ||
20 | //usage: "\n -P,--password-fd=N Read password from fd N" | ||
21 | /* //usage: "\n -s,--stdin Use stdin; like -P0" */ | ||
22 | //usage: "\n -m,--method=TYPE Encryption method TYPE" | ||
23 | //usage: "\n -S,--salt=SALT" | ||
24 | //usage: ) | ||
25 | //usage: IF_NOT_LONG_OPTS( | ||
26 | //usage: "\n -P N Read password from fd N" | ||
27 | /* //usage: "\n -s Use stdin; like -P0" */ | ||
28 | //usage: "\n -m TYPE Encryption method TYPE" | ||
29 | //usage: "\n -S SALT" | ||
30 | //usage: ) | ||
31 | |||
32 | /* mkpasswd is an alias to cryptpw */ | ||
33 | //usage:#define mkpasswd_trivial_usage | ||
34 | //usage: "[OPTIONS] [PASSWORD] [SALT]" | ||
35 | /* We do support -s, we just don't mention it */ | ||
36 | //usage:#define mkpasswd_full_usage "\n\n" | ||
37 | //usage: "Crypt the PASSWORD using crypt(3)\n" | ||
38 | //usage: "\nOptions:" | ||
39 | //usage: IF_LONG_OPTS( | ||
40 | //usage: "\n -P,--password-fd=N Read password from fd N" | ||
41 | /* //usage: "\n -s,--stdin Use stdin; like -P0" */ | ||
42 | //usage: "\n -m,--method=TYPE Encryption method TYPE" | ||
43 | //usage: "\n -S,--salt=SALT" | ||
44 | //usage: ) | ||
45 | //usage: IF_NOT_LONG_OPTS( | ||
46 | //usage: "\n -P N Read password from fd N" | ||
47 | /* //usage: "\n -s Use stdin; like -P0" */ | ||
48 | //usage: "\n -m TYPE Encryption method TYPE" | ||
49 | //usage: "\n -S SALT" | ||
50 | //usage: ) | ||
51 | |||
13 | #include "libbb.h" | 52 | #include "libbb.h" |
14 | 53 | ||
15 | /* Debian has 'mkpasswd' utility, manpage says: | 54 | /* Debian has 'mkpasswd' utility, manpage says: |