Skip to content

Output of golangci-lint run --help should indicate module directories can be passed #2568

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

Open
4 tasks done
silverwind opened this issue Feb 14, 2022 · 0 comments
Open
4 tasks done

Comments

@silverwind
Copy link
Contributor

silverwind commented Feb 14, 2022

Welcome

  • Yes, I'm using a binary release within 2 latest major releases. Only such installations are supported.
  • Yes, I've searched similar issues on GitHub and didn't find any.
  • Yes, I've included all information below (version, config, etc).
  • Yes, I've tried with the standalone linter if available. (https://golangci-lint.run/usage/linters/)

Description of the problem

The output of golangci-lint run --help does not indicate it supports passing module directories:

$ golangci-lint run --help | head -4
Run the linters

Usage:
  golangci-lint run [flags]

I would expect it to be something golangci-lint run [flags] [<module-dir>...] to indicate that these can be passed. Not sure if my terminology "module-dir" is correct.

Version of golangci-lint

$ golangci-lint --version
golangci-lint has version 1.44.0 built from 617470fa on 2022-01-25T11:31:17Z

Configuration file

Not relevant.

Go environment

Not relevant.

Verbose output of running

Not relevant.

Code example or link to a public repository

Not relevant.

@silverwind silverwind added the bug Something isn't working label Feb 14, 2022
@ldez ldez added area: docs and removed bug Something isn't working labels Feb 14, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants