Improve examples in README
This commit is contained in:
parent
88b3318243
commit
01693bf200
17
README.md
17
README.md
@ -25,22 +25,25 @@ Or, on OpenBSD:
|
|||||||
|
|
||||||
`pw`
|
`pw`
|
||||||
|
|
||||||
Generate password using default settings.
|
Generate password using default settings: at lease one digit, at least one lower
|
||||||
|
case letter, at least one upper case letter, at least one symbol from the set
|
||||||
|
'_-=+<>,.!@#$%^&*', and a length of 24 characters.
|
||||||
|
|
||||||
## Examples
|
## Examples
|
||||||
|
|
||||||
Generate a password with at least one lower case letter, one upper case letter,
|
Generate a password with at least one lower case letter, at least two upper case
|
||||||
and one digit, with a length of 20 characters:
|
letters, at least three digits, at least four symbols, and a length of 20
|
||||||
|
characters:
|
||||||
|
|
||||||
`pw -l 1 -u 1 -d 1 -c 20`
|
`pw -l 1 -u 2 -d 3 -s 4 -c 20`
|
||||||
|
|
||||||
or, more compact:
|
or, more compact:
|
||||||
|
|
||||||
`pw -l1 -u1 -d1 -c20`
|
`pw -l1 -u2 -d3 -s4 -c20`
|
||||||
|
|
||||||
Generate a password containing symbols from a given set:
|
The same, but now with symbols chosen from the set '+', '-', '=', and '@':
|
||||||
|
|
||||||
`pw -S '+-=@'`
|
`pw -l1 -u2 -d3 -s4 -c20 -S '+-=@'`
|
||||||
|
|
||||||
## Documentation
|
## Documentation
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user