aboutsummaryrefslogtreecommitdiff
path: root/bin/ak-gpg
diff options
context:
space:
mode:
Diffstat (limited to 'bin/ak-gpg')
-rwxr-xr-xbin/ak-gpg4
1 files changed, 4 insertions, 0 deletions
diff --git a/bin/ak-gpg b/bin/ak-gpg
index fa48a18..3ab0045 100755
--- a/bin/ak-gpg
+++ b/bin/ak-gpg
@@ -36,6 +36,9 @@
##
## -d, --delete-key Delete GPG keys from your keyring
##
+## -ds, --delete-secret-key <fingerprint>
+## Delete GPG keys from your keyring
+##
fullprogrampath="$(realpath $0)"
PROGRAM=$(basename $0)
descriptionString="GPG cli tool"
@@ -65,6 +68,7 @@ if [ ! -z $1 ]; then
--create-key | -c) shift; _ak_gpg_create_key $1; exit;;
--select-key | -s) _ak_gpg_select_key; exit;;
--delete-key | -d) _ak_gpg_delete_key; exit;;
+ --delete-secret-key | -ds) shift; _ak_gpg_delete_secret_key $1; exit;;
* ) _ak_usage;;
esac
else _ak_usage