-
-
Notifications
You must be signed in to change notification settings - Fork 28
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
unparam -help doesn't print usage. #12
Comments
But I think that'd be overkill for this small tool. |
I agree, and this was just me being lazy - feel free to send a patch. Otherwise, I'll get to it in a few days. |
I'll let you get to it, mostly because it's easier for you. I'd have to go through this dance. Thanks! |
I know it's easier and faster for me - but I prefer to let people submit patches before I do, if they wish. Sometimes that leads to non-trivial contributions :) |
That doesn't answer the questions of "what parameters does
unparam
take? how do I use it? can I specify packages, or does it always use current directory? do I need to give it individual .go files?"I had to look at the source code and/or guess to figure it out.
Compare with:
unconvert
helpfully tells me that usage isunconvert [flags] [package ...]
, so I know how to use it.I think doing this would be sufficient to fix this problem:
The text was updated successfully, but these errors were encountered: