spm

simple password manager
git clone anongit@rnpnr.xyz:spm.git
Log | Files | Refs | Feed | README | LICENSE

Commit: fcdc5dc3572a81ff5fd255b956436c29549ec22d
Parent: 4a52711d0587917b0e44209f19291251d56b18e0
Author: Klemens Nanni
Date:   Fri,  3 Jun 2016 17:10:45 +0200

'list' may be used without arguments

Diffstat:
Mspm.sh | 3+--
1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/spm.sh b/spm.sh @@ -72,8 +72,7 @@ add() { list() { [ -d "${STORE_DIR}" ] || mkdir -p "${STORE_DIR}" - [ -n "${1}" ] && [ ! -d "${STORE_DIR}/${1}" ] \ - && die "No such group. See 'spm list'." + [ -d "${STORE_DIR}/${1}" ] || die "No such group. See 'spm list'." tree ${grps_only:+-d} --noreport -l --dirsfirst --sort=name -C \ -- "${STORE_DIR}/${1}" \