Skip to content

panic when calling with no arguments #47

@figassis

Description

@figassis

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions