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 output modes #36

Open
jayconrod opened this issue Dec 18, 2017 · 0 comments
Open

Rename output modes #36

jayconrod opened this issue Dec 18, 2017 · 0 comments
Labels

Comments

@jayconrod
Copy link
Contributor

(Migrated from bazelbuild/rules_go#693)

Gazelle -mode=fix is confusingly similar to the recently added fix command. I'd like to rename -mode to -output_mode and -mode=fix to -output_mode=write.

To ease the transition, -mode and -mode=fix will continue to work as aliases for the new names, printing warnings when used. The old names can be removed in a few months.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant