From a9fd0b8dfbc25cd0e7f6ff876c86d75d867ae76f Mon Sep 17 00:00:00 2001 From: Dylan Araps Date: Mon, 25 Feb 2019 21:49:31 +0200 Subject: [PATCH] docs: update --- README.md | 8 ++++---- pash | 8 ++++---- pash.1 | 9 +++++---- 3 files changed, 13 insertions(+), 12 deletions(-) diff --git a/README.md b/README.md index b2756d5..4e0b155 100644 --- a/README.md +++ b/README.md @@ -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. ``` diff --git a/pash b/pash index 5a66b40..89dbceb 100755 --- a/pash +++ b/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 ;; diff --git a/pash.1 b/pash.1 index ed40f4d..0a47c24 100644 --- a/pash.1 +++ b/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