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

Usage function doesn't correctly print when called with multiple interpolation arguments #4

Closed
lucianjon opened this issue Feb 21, 2017 · 2 comments

Comments

@lucianjon
Copy link

As an example:

Couldn't read [[/Users/lucianj/.databases.json open /Users/lucianj/.databases.json: no such file or directory]] file. err=%!v(MISSING)

https://github.com/marianogappa/sql/blob/master/usage.go#L11 should be fmt.Println(fmt.Sprintf(error, args...))

@marianogappa
Copy link
Owner

OMG who would write fmt.Println(fmt.Sprintf(error, args))???

37d2dd84 (Mariano Gappa 2016-09-17 21:19:38 +1200 11)       fmt.Println(fmt.Sprintf(error, args))

meh

marianogappa pushed a commit that referenced this issue Feb 21, 2017
@marianogappa
Copy link
Owner

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