Added examples to README.md.

This commit is contained in:
Johannes Findeisen 2024-08-18 02:03:29 +02:00
commit 17d04029c5

View file

@ -44,6 +44,28 @@ Options:
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 $?
```