From 87f670b70e8d7bddc0e6c45b8d12958a961c9a73 Mon Sep 17 00:00:00 2001 From: SIGSEGV Date: Thu, 17 Dec 2020 14:45:27 +0800 Subject: [PATCH] Correct mirror init flag (#997) --- cmd/mirror.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cmd/mirror.go b/cmd/mirror.go index 411336156d..61ff7344a2 100644 --- a/cmd/mirror.go +++ b/cmd/mirror.go @@ -626,7 +626,7 @@ current working directory (".") will be used.`, }, } - cmd.Flags().StringVarP(&keyDir, "", "i", "", "Path to write the private key file") + cmd.Flags().StringVarP(&keyDir, "key-dir", "k", "", "Path to write the private key file") return cmd }