Added examples to README.md.
This commit is contained in:
parent
df4aa0175f
commit
17d04029c5
1 changed files with 22 additions and 0 deletions
22
README.md
22
README.md
|
|
@ -44,6 +44,28 @@ Options:
|
||||||
|
|
||||||
Returns 0 on success, 1 otherwise.
|
Returns 0 on success, 1 otherwise.
|
||||||
|
|
||||||
|
## Examples:
|
||||||
|
|
||||||
|
### Interactive mode:
|
||||||
|
|
||||||
|
```
|
||||||
|
checkpw -i
|
||||||
|
```
|
||||||
|
|
||||||
|
### Interactive mode only asking for a password:
|
||||||
|
|
||||||
|
```
|
||||||
|
checkpw -u hanez -i
|
||||||
|
```
|
||||||
|
|
||||||
|
### None interactive mode with username and password provided as parameters:
|
||||||
|
|
||||||
|
```
|
||||||
|
checkpw -u hanez -p password
|
||||||
|
```
|
||||||
|
|
||||||
|
### Request the result from the above commands:
|
||||||
|
|
||||||
```
|
```
|
||||||
echo $?
|
echo $?
|
||||||
```
|
```
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue