spm

Personal fork of spm (simple password manager)
git clone git@getsh.org:spm.git
Log | Files | Refs | README | LICENSE

commit d7962a108ef4bd1336a566c03ac753c8d6f77f45
parent e0b79cc53318d59a1fb10814705b5fc9289cf31d
Author: Klemens Nanni <kl3@posteo.org>
Date:   Sun, 15 May 2016 23:51:04 +0200

No need for usage(), refer to man page as well

Diffstat:
Mtpm | 10+++++-----
1 file changed, 5 insertions(+), 5 deletions(-)

diff --git a/tpm b/tpm @@ -45,10 +45,6 @@ readpw() { [ -t 0 ] && stty echo } -usage() { - printf 'USAGE: tpm show|insert|list|help [ENTRY|GROUP]\n' -} - ## Commands insert() { @@ -113,7 +109,11 @@ case "${1}" in ${1} "${2}" ;; help) - usage + cat <<- EOF + USAGE: tpm show|insert|list|help [ENTRY|GROUP] + + See tpm(1) for more information. + EOF ;; *) abort "Invalid command. See 'tpm help'."