From a5c4e7268da80156b9525732b9f666d2cff2e391 Mon Sep 17 00:00:00 2001 From: kaotisk Date: Tue, 23 Jul 2024 17:46:35 +0300 Subject: refactoring --- bin/ak-gpg | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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;; -- cgit v1.2.3