spm

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

commit 65a5b7b3cd613cf8228501f181f087a836a63d29
parent 7af28bc823d2a99e218dfd7f7af50309ecd140b5
Author: Klemens Nanni <kl3@posteo.org>
Date:   Mon, 29 Feb 2016 08:30:55 +0100

Change comment style

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

diff --git a/tpm b/tpm @@ -16,9 +16,7 @@ umask 077 -## -# Variables -## +### Variables ### GPG_OPTS="--quiet --yes --batch" STORE_DIR="${PASSWORD_STORE_DIR:-${HOME}/.password-store}" @@ -33,9 +31,7 @@ else GPG_OPTS="${GPG_OPTS} --default-recipient-self" fi -## -# Helper -## +### Helper ### abort() { echo "${1}" 1>&2 @@ -66,9 +62,7 @@ list() { echo } -## -# Commands -## +### Commands ### show() { [ -z "${1}" ] && abort "USAGE: tpm show ENTRY" @@ -95,9 +89,7 @@ insert() { | gpg2 ${GPG_OPTS} --encrypt --output "${STORE_DIR}"/"${1}".gpg } -## -# Parse input -## +### Parse input ### [ $# -gt 2 ] && abort "tpm doesn't accept more than two arguments."