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

Print Help when no parameters are provided #17

Closed
jmcgarr opened this issue Nov 23, 2015 · 0 comments
Closed

Print Help when no parameters are provided #17

jmcgarr opened this issue Nov 23, 2015 · 0 comments

Comments

@jmcgarr
Copy link

jmcgarr commented Nov 23, 2015

Calling jira without any parameters result in a runtime error. Recommend spitting out the help text or a clear usage message.

> jira
panic: runtime error: index out of range

goroutine 1 [running]:
main.main()
    /private/tmp/go-jira20151123-82731-1ttgffd/go-jira-0.0.14/src/github.com/Netflix-Skunkworks/go-jira/jira/main.go:220 +0x44bb

goroutine 17 [syscall, locked to thread]:
runtime.goexit()
    /usr/local/Cellar/go/1.5.1/libexec/src/runtime/asm_amd64.s:1696 +0x1
coryb added a commit that referenced this issue Nov 23, 2015
@coryb coryb closed this as completed Nov 23, 2015
pdericson pushed a commit to pdericson/go-jira that referenced this issue Sep 14, 2017
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

2 participants