From 16b3fd4d8752ad5422aed6348e2cc597b2e76584 Mon Sep 17 00:00:00 2001 From: Adin Schmahmann Date: Thu, 10 Sep 2020 15:53:19 -0400 Subject: [PATCH] fix: remove the (empty) alias for --peerid-base --- core/commands/id.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/commands/id.go b/core/commands/id.go index 1855425f878..83f3bb4b3ab 100644 --- a/core/commands/id.go +++ b/core/commands/id.go @@ -70,7 +70,7 @@ EXAMPLE: }, Options: []cmds.Option{ cmds.StringOption(formatOptionName, "f", "Optional output format."), - cmds.StringOption(idFormatOptionName, "", "Encoding used for peer IDs: Can either be a multibase encoded CID or a base58btc encoded multihash. Takes {b58mh|base36|k|base32|b...}.").WithDefault("b58mh"), + cmds.StringOption(idFormatOptionName, "Encoding used for peer IDs: Can either be a multibase encoded CID or a base58btc encoded multihash. Takes {b58mh|base36|k|base32|b...}.").WithDefault("b58mh"), }, Run: func(req *cmds.Request, res cmds.ResponseEmitter, env cmds.Environment) error { keyEnc, err := ke.KeyEncoderFromString(req.Options[idFormatOptionName].(string))