aboutsummaryrefslogtreecommitdiff
path: root/bin/ak-gpg
diff options
context:
space:
mode:
authorkaotisk <kaotisk@arching-kaos.org>2025-03-16 19:46:26 +0200
committerkaotisk <kaotisk@arching-kaos.org>2025-03-16 19:46:26 +0200
commit57a9fceaf20857c36f57a2e53714eda6f7d20093 (patch)
tree16f7fe420b72c758e4eed7fe677071f5f68ac88b /bin/ak-gpg
parent5d446a8e88c3e55d0652c069af747cb537f9a042 (diff)
downloadarching-kaos-tools-57a9fceaf20857c36f57a2e53714eda6f7d20093.tar.gz
arching-kaos-tools-57a9fceaf20857c36f57a2e53714eda6f7d20093.tar.bz2
arching-kaos-tools-57a9fceaf20857c36f57a2e53714eda6f7d20093.zip
fix: typo in flag
Diffstat (limited to 'bin/ak-gpg')
-rwxr-xr-xbin/ak-gpg2
1 files changed, 2 insertions, 0 deletions
diff --git a/bin/ak-gpg b/bin/ak-gpg
index 03fee4f..f84bc71 100755
--- a/bin/ak-gpg
+++ b/bin/ak-gpg
@@ -44,6 +44,7 @@
## -d, --delete-key Delete GPG keys from your keyring
## -ds, --delete-secret-key <fingerprint>
## Delete GPG keys from your keyring
+## -r, --run Runs a command with gpg2
##
fullprogrampath="$(realpath $0)"
PROGRAM=$(basename $0)
@@ -77,6 +78,7 @@ if [ ! -z $1 ]; then
--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;;
+ --run | -r) shift; _ak_gpg $*; exit;;
* ) _ak_usage;;
esac
else _ak_usage