~mmach/netext73/busybox

« back to all changes in this revision

Viewing changes to loginutils/cryptpw.c

  • Committer: mmach
  • Date: 2022-08-22 15:28:31 UTC
  • Revision ID: netbit73@gmail.com-20220822152831-vrsxgw6c75b03ujx
1.35.0

Show diffs side-by-side

added added

removed removed

Lines of Context:
32
32
//kbuild:lib-$(CONFIG_MKPASSWD) += cryptpw.o
33
33
 
34
34
//usage:#define cryptpw_trivial_usage
35
 
//usage:       "[OPTIONS] [PASSWORD] [SALT]"
 
35
//usage:       "[-P FD] [-m TYPE] [-S SALT] [PASSWORD] [SALT]"
36
36
/* We do support -s, we just don't mention it */
37
37
//usage:#define cryptpw_full_usage "\n\n"
38
38
//usage:       "Print crypt(3) hashed PASSWORD\n"
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        "CRYPT_METHODS_HELP_STR
43
 
//usage:     "\n        -S,--salt SALT"
44
 
//usage:        )
45
 
//usage:        IF_NOT_LONG_OPTS(
46
39
//usage:     "\n        -P N    Read password from fd N"
47
40
/* //usage:  "\n        -s      Use stdin; like -P0" */
48
41
//usage:     "\n        -m TYPE "CRYPT_METHODS_HELP_STR
49
42
//usage:     "\n        -S SALT"
50
 
//usage:        )
51
43
 
52
44
#include "libbb.h"
53
45
 
80
72
    A list of options which will be evaluated before the ones
81
73
    specified on the command line.
82
74
BUGS
83
 
    This programs suffers of a bad case of featuritis.
84
 
    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
 
75
    This program suffers of a bad case of featuritis.
 
76
    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
85
77
 
86
78
Very true...
87
79