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

PT-2236 - pt-secure-collect, pt-pg-summary do not follow PT standard #652

Conversation

svetasmirnova
Copy link
Collaborator

@svetasmirnova svetasmirnova commented Jul 28, 2023

…for option --version

  • Redirected UsageWriter to os.Stdout for kingpin, so --version output goes to STDOUT, not to STDERR

  • Adjusted text, printed by the --version flag

  • Added test cases to check how --version flag works

  • Adjusted test cases, so they use TOOLNAME constant

  • The contributed code is licensed under GPL v2.0

  • Contributor Licence Agreement (CLA) is signed

  • util/update-modules has been ran

  • Documention updated

  • Test suite update

…for option --version

- Redirected UsageWriter to os.Stdout for kingpin, so --version output
  goes to STDOUT, not to STDERR
- Adjusted text, printed by the --version flag
- Added test cases to check how --version flag works
- Adjusted test cases, so they use TOOLNAME constant
src/go/pt-pg-summary/main.go Outdated Show resolved Hide resolved
go.mod Outdated Show resolved Hide resolved
…for option --version

Run go mod tidy as requested by Artem Gavrilov
…for option --version

Renamed const TOOLNAME to toolname to follow Go coding standards
@svetasmirnova svetasmirnova merged commit ab4bf1b into 3.x Jul 31, 2023
3 checks passed
@svetasmirnova svetasmirnova deleted the PT-2236_pt-secure-collect_pt-pg-summary_do_not_follow_PT_standard_for_option_--version branch July 31, 2023 13:59
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