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

generate-flag-type: Use standard tag for generated code #784

Closed
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
4 changes: 2 additions & 2 deletions flag_generated.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

5 changes: 3 additions & 2 deletions generate-flag-types
Expand Up @@ -126,10 +126,11 @@ def _set_typedef_defaults(typedef):


def _write_cli_flag_types(outfile, types):
# Use standard tag for generated code: https://golang.org/s/generatedcode
_fwrite(outfile, """\
package cli
// Code generated by generate-flag-types; DO NOT EDIT.

// WARNING: This file is generated!
package cli

""")

Expand Down