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