Skip to content

basecli version panic: account flag redefined: indent #2884

Closed
@tanhuiya

Description

The latest develop branch
run basecli version , got error

basecli version
panic: account flag redefined: indent

goroutine 1 [running]:
github.com/cosmos/cosmos-sdk/vendor/github.com/spf13/pflag.(*FlagSet).AddFlag(0xc0001a9e00, 0xc000202960)
	/Users/tanhui/go/src/github.com/cosmos/cosmos-sdk/vendor/github.com/spf13/pflag/flag.go:836 +0x870
github.com/cosmos/cosmos-sdk/vendor/github.com/spf13/pflag.(*FlagSet).VarPF(0xc0001a9e00, 0x4ca56c0, 0xc000b54438, 0x4a745df, 0x6, 0x0, 0x0, 0x4a87a85, 0x1b, 0xc000b54438)
	/Users/tanhui/go/src/github.com/cosmos/cosmos-sdk/vendor/github.com/spf13/pflag/flag.go:819 +0x10b
github.com/cosmos/cosmos-sdk/vendor/github.com/spf13/pflag.(*FlagSet).BoolVarP(0xc0001a9e00, 0xc000b54438, 0x4a745df, 0x6, 0x0, 0x0, 0xc0001e5400, 0x4a87a85, 0x1b)
	/Users/tanhui/go/src/github.com/cosmos/cosmos-sdk/vendor/github.com/spf13/pflag/bool.go:55 +0x97
github.com/cosmos/cosmos-sdk/vendor/github.com/spf13/pflag.(*FlagSet).BoolP(0xc0001a9e00, 0x4a745df, 0x6, 0x0, 0x0, 0x0, 0x4a87a85, 0x1b, 0x0)
	/Users/tanhui/go/src/github.com/cosmos/cosmos-sdk/vendor/github.com/spf13/pflag/bool.go:80 +0x9a
github.com/cosmos/cosmos-sdk/vendor/github.com/spf13/pflag.(*FlagSet).Bool(0xc0001a9e00, 0x4a745df, 0x6, 0x0, 0x4a87a85, 0x1b, 0xc000b54430)
	/Users/tanhui/go/src/github.com/cosmos/cosmos-sdk/vendor/github.com/spf13/pflag/bool.go:74 +0x67
github.com/cosmos/cosmos-sdk/client.GetCommands(0xc000017f18, 0xe, 0xe, 0xc00098ad80, 0xb, 0xc0001a9700)
	/Users/tanhui/go/src/github.com/cosmos/cosmos-sdk/client/flags.go:58 +0x81
main.main()
	/Users/tanhui/go/src/github.com/cosmos/cosmos-sdk/docs/examples/basecoin/cmd/basecli/main.go:75 +0x5a6

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions