From 8c5197491249d27493a7be40c2e16fe47df8bad0 Mon Sep 17 00:00:00 2001 From: Richard Hattersley Date: Thu, 25 Nov 2021 09:29:02 +0000 Subject: [PATCH] Clarify source of key index --- CONTRIBUTORS.md | 1 + cmd/internal/cli/sign.go | 4 ++-- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/CONTRIBUTORS.md b/CONTRIBUTORS.md index 030fd529fa..cc8ae30ec6 100644 --- a/CONTRIBUTORS.md +++ b/CONTRIBUTORS.md @@ -85,6 +85,7 @@ The following have contributed code and/or documentation to this repository. - Rafal Gumienny - Ralph Castain - Rémy Dernat +- Richard Hattersley - Richard Neuboeck - Sasha Yakovtseva , - Satish Chebrolu diff --git a/cmd/internal/cli/sign.go b/cmd/internal/cli/sign.go index 36fcb66fc0..f03700f912 100644 --- a/cmd/internal/cli/sign.go +++ b/cmd/internal/cli/sign.go @@ -17,7 +17,7 @@ import ( ) var ( - privKey int // -k encryption key (index from 'keys list') specification + privKey int // -k encryption key (index from 'key list --secret') specification signAll bool ) @@ -68,7 +68,7 @@ var signKeyIdxFlag = cmdline.Flag{ DefaultValue: 0, Name: "keyidx", ShortHand: "k", - Usage: "private key to use (index from 'key list')", + Usage: "private key to use (index from 'key list --secret')", } // -a|--all (deprecated)