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

Rename -v flag to -vlevel #52

Closed
wants to merge 1 commit into from
Closed

Rename -v flag to -vlevel #52

wants to merge 1 commit into from

Conversation

bcl
Copy link

@bcl bcl commented Aug 19, 2021

Setting flags in init() can cause conflicts with user's flags. Using -v
is very common in cmdline utilities, so rename it to -vlevel to prevent
problems.

Setting flags in init() can cause conflicts with user's flags. Using -v
is very common in cmdline utilities, so rename it to -vlevel to prevent
problems.
@robpike
Copy link
Contributor

robpike commented Aug 19, 2021

This would break compatibility in a widely used package. Anyway as the docs say,

The repository contains an open source version of the log package used inside Google. The master copy of the source lives inside Google, not here. The code in this repo is for export only and is not itself under development. Feature requests will be ignored.

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

Successfully merging this pull request may close these issues.

3 participants