summaryrefslogtreecommitdiff
path: root/src/password-store.sh
diff options
context:
space:
mode:
Diffstat (limited to 'src/password-store.sh')
-rwxr-xr-xsrc/password-store.sh3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/password-store.sh b/src/password-store.sh
index c8736e1..503bac4 100755
--- a/src/password-store.sh
+++ b/src/password-store.sh
@@ -209,7 +209,7 @@ case "$command" in
path="$1"
if [[ -d $PREFIX/$path ]]; then
- if [[ $path == "" ]]; then
+ if [[ -z $path ]]; then
echo "Password Store"
else
echo $path
@@ -350,6 +350,7 @@ case "$command" in
delete|rm|remove)
recursive=""
force=0
+
opts="$($GETOPT -o rf -l recursive,force -n "$program" -- "$@")"
err=$?
eval set -- "$opts"
der'>2014-05-07Implement interactive rename functionSvend Sorensen1-0/+7 2014-05-07Reorder interactive function to match order of helper functionsSvend Sorensen1-13/+13 2014-05-07Make edit helper function name consistent with other helpersSvend Sorensen1-1/+1 2014-05-07Factor out password completing-read functionSvend Sorensen1-4/+8 2014-05-07Add dash to Package-RequiresSvend Sorensen1-1/+1 2014-05-06Force sane sort order.Jason A. Donenfeld1-2/+2 2014-05-06generate: add --in-place optionJason A. Donenfeld4-9/+33