aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorkaotisk <kaotisk@arching-kaos.org>2024-07-23 17:46:35 +0300
committerkaotisk <kaotisk@arching-kaos.org>2024-07-23 17:46:35 +0300
commita5c4e7268da80156b9525732b9f666d2cff2e391 (patch)
tree4a6a157c6c1b3fb35febfd0cc2fd38d83fe99483
parent643284b0f06e7e52c3f436334067098c63c0bb82 (diff)
downloadarching-kaos-tools-a5c4e7268da80156b9525732b9f666d2cff2e391.tar.gz
arching-kaos-tools-a5c4e7268da80156b9525732b9f666d2cff2e391.tar.bz2
arching-kaos-tools-a5c4e7268da80156b9525732b9f666d2cff2e391.zip
refactoring
-rwxr-xr-xbin/ak-gpg2
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/ak-gpg b/bin/ak-gpg
index f14c257..d276bd9 100755
--- a/bin/ak-gpg
+++ b/bin/ak-gpg
@@ -62,7 +62,7 @@ if [ ! -z $1 ]; then
--list-secret-keys | -ls) _ak_gpg_list_secret_keys; exit;;
--list-secret-keys-long | -lsl) _ak_gpg_list_secret_keys_long; exit;;
--list-secret-keys-plain | -lsp) _ak_gpg_list_secret_keys_plain; exit;;
- --create-key | -c) _ak_gpg_create_key $2; exit;;
+ --create-key | -c) shift; _ak_gpg_create_key $1; exit;;
--select-key | -s) _ak_gpg_select_key; exit;;
--delete-key | -s) _ak_gpg_delete_key; exit;;
* ) _ak_usage;;