Skip to content

Commit 4698cbb

Browse files
committed
fix comments
1 parent e05f318 commit 4698cbb

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

cmd/opinitd/key.go

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@ func keysAddCmd(ctx *cmdContext) *cobra.Command {
6767
Args: cobra.ExactArgs(2),
6868
Example: strings.TrimSpace(`
6969
$ keys add localnet key1
70-
$ keys add l2 key2 --bech celestia
70+
$ keys add l2 key2 --bech32 celestia
7171
$ keys add l2 key2 --restore mnemonic.txt`),
7272
RunE: func(cmd *cobra.Command, args []string) error {
7373
chainId := args[0]
@@ -155,7 +155,7 @@ func keysListCmd(ctx *cmdContext) *cobra.Command {
155155
Short: "Lists keys from the keychain associated with a particular chain",
156156
Args: cobra.ExactArgs(1),
157157
Example: strings.TrimSpace(`
158-
$ keys list localnet
158+
$ keys list localnet --bech32 celestia
159159
$ k l l2`),
160160
RunE: func(cmd *cobra.Command, args []string) error {
161161
chainId := args[0]
@@ -214,7 +214,7 @@ func keysShowCmd(ctx *cmdContext) *cobra.Command {
214214
Short: "Shows the key from the keychain associated with a particular chain",
215215
Args: cobra.ExactArgs(2),
216216
Example: strings.TrimSpace(`
217-
$ keys show localnet key1
217+
$ keys show localnet key1 --bech32 celestia
218218
$ k s l2 key2`),
219219
RunE: func(cmd *cobra.Command, args []string) error {
220220
chainId := args[0]
@@ -265,7 +265,7 @@ func keysShowByAddressCmd(ctx *cmdContext) *cobra.Command {
265265
Short: "Shows the key by address from the keychain associated with a particular chain",
266266
Args: cobra.ExactArgs(2),
267267
Example: strings.TrimSpace(`
268-
$ keys show-by-addr localnet key1
268+
$ keys show-by-addr localnet key1 --bech32 celestia
269269
$ k sa l2 key2`),
270270
RunE: func(cmd *cobra.Command, args []string) error {
271271
chainId := args[0]
@@ -313,7 +313,7 @@ func keysDeleteCmd(ctx *cmdContext) *cobra.Command {
313313
Short: "Deletes the key from the keychain associated with a particular chain",
314314
Args: cobra.ExactArgs(2),
315315
Example: strings.TrimSpace(`
316-
$ keys delete localnet key1
316+
$ keys delete localnet key1 --bech32 celestia
317317
$ k d l2 key2`),
318318
RunE: func(cmd *cobra.Command, args []string) error {
319319
chainId := args[0]

0 commit comments

Comments
 (0)