pt-k8s-debug-collector does not have version flag

Description

How to Repeat

sveta@Delly-7390:~/src/percona-toolkit$ ./bin/pt-k8s-debug-collector --version flag provided but not defined: -version Usage of ./bin/pt-k8s-debug-collector: -cluster string Cluster name -forwardport string Port to use for port forwarding -kubeconfig string Path to kubeconfig -namespace string Namespace for collecting data. If empty data will be collected from all namespaces -resource string Collect data, specific to the resource. Supported values: pxc, psmdb, pg, ps, none (default "none") sveta@Delly-7390:~/src/percona-toolkit$ ./bin/pt-k8s-debug-collector -version flag provided but not defined: -version Usage of ./bin/pt-k8s-debug-collector: -cluster string Cluster name -forwardport string Port to use for port forwarding -kubeconfig string Path to kubeconfig -namespace string Namespace for collecting data. If empty data will be collected from all namespaces -resource string Collect data, specific to the resource. Supported values: pxc, psmdb, pg, ps, none (default "none") sveta@Delly-7390:~/src/percona-toolkit$ ./bin/pt-k8s-debug-collector version 2023/01/17 12:54:33 Start collecting cluster data ^C

Suggested Fix

Support version flag as all other tools. It makes sense to define the same structure as in other Go tools.

Environment

None

Activity

Show:
Done

Details

Assignee

Reporter

Priority

Affects versions

Fix versions

Needs QA

Yes

Story Points

Smart Checklist

Created January 17, 2023 at 9:35 AM
Updated February 29, 2024 at 8:42 PM
Resolved January 31, 2023 at 4:39 PM

Flag notifications