summaryrefslogtreecommitdiff
path: root/contrib
diff options
context:
space:
mode:
authorSvend Sorensen <svend@ciffer.net>2014-04-27 12:29:12 -0700
committerSvend Sorensen <svend@ciffer.net>2014-05-04 21:20:46 -0700
commit36d392a95f1154e0e203b45baa618f9ba93248a2 (patch)
treead570b6d73a94af8c7d9ec33a735dce975ffaeef /contrib
parent5694dde771f3cbab2a732fac1efb2ffe1be4a513 (diff)
downloadpass-36d392a95f1154e0e203b45baa618f9ba93248a2.tar.gz
pass-36d392a95f1154e0e203b45baa618f9ba93248a2.tar.bz2
pass-36d392a95f1154e0e203b45baa618f9ba93248a2.zip
Add recursive option to remove, remove force option
Optional force does not make sense for non-interactive remove function.
Diffstat (limited to '')
-rw-r--r--contrib/emacs/password-store.el5
1 files changed, 3 insertions, 2 deletions
diff --git a/contrib/emacs/password-store.el b/contrib/emacs/password-store.el
index ced7767..c332c2f 100644
--- a/contrib/emacs/password-store.el
+++ b/contrib/emacs/password-store.el
@@ -91,9 +91,10 @@ outputs error message on failure."
entry
(number-to-string password-length)))
-(defun password-store--run-remove (entry &optional force)
+(defun password-store--run-remove (entry &optional recursive)
(password-store--run "remove"
- (if force "--force")
+ "--force"
+ (if recursive "--recursive")
entry))
(defun password-store--run-rename (entry new-entry &optional force)