Fix the command descriptions

This commit is contained in:
M. Mert Yildiran 2022-12-26 06:31:36 +03:00
parent eb17b50cfc
commit 8235dc7d5f
No known key found for this signature in database
GPG Key ID: DA5D6DCBB758A461
3 changed files with 3 additions and 3 deletions

View File

@ -6,7 +6,7 @@ import (
var checkCmd = &cobra.Command{ var checkCmd = &cobra.Command{
Use: "check", Use: "check",
Short: "Check the Kubeshark installation for potential problems", Short: "Check the Kubeshark resources for potential problems",
RunE: func(cmd *cobra.Command, args []string) error { RunE: func(cmd *cobra.Command, args []string) error {
runKubesharkCheck() runKubesharkCheck()
return nil return nil

View File

@ -13,7 +13,7 @@ import (
var configCmd = &cobra.Command{ var configCmd = &cobra.Command{
Use: "config", Use: "config",
Short: "Generate config with default values", Short: "Generate Kubeshark config with default values",
RunE: func(cmd *cobra.Command, args []string) error { RunE: func(cmd *cobra.Command, args []string) error {
configWithDefaults, err := config.GetConfigWithDefaults() configWithDefaults, err := config.GetConfigWithDefaults()
if err != nil { if err != nil {

View File

@ -14,7 +14,7 @@ import (
var logsCmd = &cobra.Command{ var logsCmd = &cobra.Command{
Use: "logs", Use: "logs",
Short: "Create a zip file with logs for Github issue or troubleshoot", Short: "Create a ZIP file with logs for GitHub issues or troubleshooting",
RunE: func(cmd *cobra.Command, args []string) error { RunE: func(cmd *cobra.Command, args []string) error {
kubernetesProvider, err := getKubernetesProviderForCli() kubernetesProvider, err := getKubernetesProviderForCli()
if err != nil { if err != nil {