Skip to content

Commit 3f560b6

Browse files
committed
docs: minimal fixes
1 parent 0c4574e commit 3f560b6

File tree

1 file changed

+6
-5
lines changed

1 file changed

+6
-5
lines changed

README.md

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -19,20 +19,21 @@ Type `i` to get some instruction. Otherwise just enter `cotp --help`.
1919
In the first run you will be prompted to insert a password to initialize the database.
2020

2121
## TL;DR
22+
2223
```bash
23-
# Display all the OTP codes in the interactivee dashboard
24+
# Display all the OTP codes in the interactive dashboard
2425
cotp
2526

2627
# Add a new TOTP code from a BASE32 secret key
2728
cotp add -l <label> -i <optional_issuer>
2829

29-
# Add a new HOTP code with custom algorithm and digits
30-
cotp add --type hotp --algorithm SHA256 -d 8 --counter 10
30+
# Add a new HOTP code with custom algorithm, digits and counter
31+
cotp add --type hotp --algorithm SHA256 --digits 8 --counter 10
3132

3233
# Edit the digits of the 4th code
33-
cotp edit -i 4 --digits 8
34+
cotp edit --index 4 --digits 8
3435

35-
# List all the codes in json format passing password through stdin
36+
# List all the codes in JSON format passing password through stdin
3637
echo "mysecretpassword" | cotp --password-stdin list --json
3738

3839
# Import an encrypted Aegis Database backup

0 commit comments

Comments
 (0)