spm

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

commit 3580835069ba68eaadf5f3355df87a26e35acdaa
parent c4fddfba10946518b470d6dec1b8a9e78fbcbf98
Author: nmeum <git-nmeum@8pit.net>
Date:   Fri, 15 Nov 2013 16:34:35 +0100

Update usage instructions

Diffstat:
Mtpm | 6+++---
1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/tpm b/tpm @@ -33,7 +33,7 @@ show() { entry_path="${STORE_DIR}/${entry_name}.gpg" if [ -z "${entry_name}" ]; then - abort "USAGE: tpm show [entry_name]" + abort "USAGE: tpm show [ ENTRY ]" fi if [ ! -f "${entry_path}" ]; then @@ -48,7 +48,7 @@ insert() { entry_path="${STORE_DIR}/${entry_name}.gpg" if [ -z "${entry_name}" ]; then - abort "USAGE: tpm insert [entry-name]" + abort "USAGE: tpm insert [ ENTRY ]" fi if [ -e "${entry_path}" ] && [ -t 0 ]; then @@ -73,5 +73,5 @@ insert() { case "${1}" in "show") show "${2}" ;; "insert") insert "${2}" ;; - *) abort "USAGE: tpm OPERATION ENTRY" ;; + *) abort "USAGE: tpm [ COMMAND ] [ ENTRY ]" ;; esac