docs: update
This commit is contained in:
parent
484188e3d9
commit
a9fd0b8dfb
|
@ -42,11 +42,11 @@ COMMANDS
|
|||
|
||||
OPTIONS
|
||||
|
||||
−n Limit passwords to alphanumeric characters.
|
||||
−l Length of generated passwords.
|
||||
−c Copy password to clipboard.
|
||||
−q Don't print password to stdout.
|
||||
-t Print list output as a tree.
|
||||
−c Copy password to clipboard.
|
||||
−l Length of generated passwords.
|
||||
−n Limit passwords to alphanumeric characters.
|
||||
−q Don't print password to stdout.
|
||||
−h Show usage and exit.
|
||||
−v Show version and exit.
|
||||
```
|
||||
|
|
8
pash
8
pash
|
@ -108,9 +108,9 @@ usage() { printf '%s' "\
|
|||
pash - simple password manager.
|
||||
usage: pash [add|del|show|list] [name] [-n,-q,-c] [-l length]
|
||||
|
||||
-n Limit passwords to alphanumeric characters.
|
||||
-l length Length of generated passwords.
|
||||
-c Copy password to clipboard.
|
||||
-l length Length of generated passwords.
|
||||
-n Limit passwords to alphanumeric characters.
|
||||
-q Don't print password to stdout.
|
||||
-t Print list output as a tree.
|
||||
-h Print this message.
|
||||
|
@ -126,9 +126,9 @@ get_args() {
|
|||
shift 1
|
||||
|
||||
while getopts ":ncvqtl:" opt; do case $opt in
|
||||
n) plain=1 ;;
|
||||
l) length=${OPTARG//[^0-9]} ;;
|
||||
c) clipboard=1 ;;
|
||||
l) length=${OPTARG//[^0-9]} ;;
|
||||
n) plain=1 ;;
|
||||
q) quiet=1 ;;
|
||||
t) tree=1 ;;
|
||||
v) printf '%s\n' "pash 0.01"; exit ;;
|
||||
|
|
9
pash.1
9
pash.1
|
@ -39,16 +39,17 @@ List all entries from the password store.
|
|||
|
||||
.SH OPTIONS
|
||||
.TP
|
||||
.BR \-n
|
||||
Limit passwords to alphanumeric characters.
|
||||
|
||||
.BR \-c
|
||||
Copy password to clipboard.
|
||||
.TP
|
||||
|
||||
.BR \-l
|
||||
Length of generated passwords.
|
||||
.TP
|
||||
|
||||
.BR \-c
|
||||
Copy password to clipboard.
|
||||
.BR \-n
|
||||
Limit passwords to alphanumeric characters.
|
||||
.TP
|
||||
|
||||
.BR \-q
|
||||
|
|
Loading…
Reference in New Issue