Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

commands: Description generator panics if there is no option description #3520

Closed
Kubuxu opened this issue Dec 19, 2016 · 0 comments
Closed
Assignees
Labels
kind/bug A bug in existing code (including security flaws) topic/commands Topic commands

Comments

@Kubuxu
Copy link
Member

Kubuxu commented Dec 19, 2016

goroutine 1 [running]:
panic(0xc12b00, 0xc420016210)
	/usr/local/go/src/runtime/panic.go:500 +0x1a1
github.com/ipfs/go-ipfs/commands.(*option).Description(0xc4202562c0, 0x1, 0x1)
	/home/ubuntu/.go_workspace/src/github.com/ipfs/go-ipfs/commands/option.go:46 +0x2e2
github.com/ipfs/go-ipfs/commands/cli.optionText(0xc420237c90, 0x1, 0x1, 0xcfb267, 0x1, 0xc42001ae00)
	/home/ubuntu/.go_workspace/src/github.com/ipfs/go-ipfs/commands/cli/helptext.go:343 +0x94c
github.com/ipfs/go-ipfs/commands/cli.LongHelp(0xcfcb77, 0x4, 0x123bfe0, 0xc420019500, 0x3, 0x4, 0x114da60, 0xc420032010, 0x100000001158bc0, 0xc420237e00)
	/home/ubuntu/.go_workspace/src/github.com/ipfs/go-ipfs/commands/cli/helptext.go:160 +0x45a
main.main.func2(0xc420019401, 0x114da60, 0xc420032010)
	/home/ubuntu/.go_workspace/src/github.com/ipfs/go-ipfs/cmd/ipfs/main.go:94 +0x8b
main.main()
	/home/ubuntu/.go_workspace/src/github.com/ipfs/go-ipfs/cmd/ipfs/main.go:125 +0x617

@Kubuxu Kubuxu added kind/bug A bug in existing code (including security flaws) topic/commands Topic commands labels Dec 19, 2016
@Kubuxu Kubuxu self-assigned this Dec 19, 2016
@Kubuxu Kubuxu added the status/in-progress In progress label Dec 19, 2016
@whyrusleeping whyrusleeping removed the status/in-progress In progress label Dec 21, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind/bug A bug in existing code (including security flaws) topic/commands Topic commands
Projects
None yet
Development

No branches or pull requests

2 participants