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

panic when calling with no arguments #47

Open
figassis opened this issue Nov 25, 2021 · 0 comments
Open

panic when calling with no arguments #47

figassis opened this issue Nov 25, 2021 · 0 comments

Comments

@figassis
Copy link

When calling hostess with no arguments, instead of the usage help, I get:
panic: runtime error: slice bounds out of range [2:1]

goroutine 1 [running]:
main.wrappedMain(0xc000012200, 0x1, 0x1, 0x0, 0xc000078058)
	github.com/cbednarski/hostess/main.go:78 +0xd85
main.main()
	github.com/cbednarski/hostess/main.go:147 +0x45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant