spm

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

commit 64e7a0df11f5ad336d9b361752235686abc6d24f
parent 1c7d239550f359aa90964d7fa6ca95ea4349ed37
Author: Klemens Nanni <kl3@posteo.org>
Date:   Sat, 12 Mar 2016 18:00:19 +0100

Remove superfluous #s

Diffstat:
Mtpm | 8++++----
1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/tpm b/tpm @@ -17,7 +17,7 @@ umask 077 -### Variables ### +## Variables GPG_OPTS='--quiet --yes --batch' STORE_DIR="${PASSWORD_STORE_DIR:-${HOME}/.tpm}" @@ -28,7 +28,7 @@ else GPG_OPTS="${GPG_OPTS} --default-recipient-self" fi -### Helper ### +## Helper abort() { printf '%s\n' "${1}" 1>&2 @@ -49,7 +49,7 @@ usage() { printf 'USAGE: tpm show|insert|list|help [ENTRY|GROUP]\n' } -### Commands ### +## Commands insert() { [ -z "${1}" ] && abort 'USAGE: tpm insert ENTRY' @@ -104,7 +104,7 @@ show() { gpg2 ${GPG_OPTS} --decrypt "${entry}" } -### Parse input ### +## Parse input [ $# -gt 2 ] && abort " Too many arguments."