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
Porttousefor port forwarding
-kubeconfig string
Pathtokubeconfig-namespace string
Namespacefor collecting data. If empty data will be collected from all namespaces
-resource string
Collect data, specific totheresource. 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
Porttousefor port forwarding
-kubeconfig string
Pathtokubeconfig-namespace string
Namespacefor collecting data. If empty data will be collected from all namespaces
-resource string
Collect data, specific totheresource. Supported values: pxc, psmdb, pg, ps, none (default"none")sveta@Delly-7390:~/src/percona-toolkit$ ./bin/pt-k8s-debug-collector version
2023/01/1712:54:33Start 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.
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.