aboutsummaryrefslogtreecommitdiff
path: root/pass.c
diff options
context:
space:
mode:
Diffstat (limited to 'pass.c')
-rw-r--r--pass.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/pass.c b/pass.c
index a58276d..513c9aa 100644
--- a/pass.c
+++ b/pass.c
@@ -117,6 +117,11 @@ int main(int argc, char *argv[])
err_die(1, "invalid usage, try pass help");
r = add(argv[1]);
+ } else if (!strcmp("rm", *argv)) {
+ if (!argv[1])
+ err_die(1, "invalid usage, try pass help");
+
+ r = pass_rm(argv[1]);
} else {
r = cat(*argv);
}