Skip to content

Commit

Permalink
feat(gensecret): remove unused flag
Browse files Browse the repository at this point in the history
  • Loading branch information
budimanjojo committed Sep 21, 2022
1 parent 40d13e8 commit 84f50ed
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 3 deletions.
1 change: 0 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -117,7 +117,6 @@ Usage:
talhelper gensecret [flags]
Flags:
-c, --config-file string File containing configurations for talhelper (default "talconfig.yaml")
-f, --from-configfile string Talos cluster node configuration file to generate secret from
-h, --help help for gensecret
```
Expand Down
2 changes: 0 additions & 2 deletions cmd/gensecret.go
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@ import (

var (
gensecretFromCfg string
gensecretCfgFile string
)

var gensecretCmd = &cobra.Command{
Expand All @@ -27,6 +26,5 @@ var gensecretCmd = &cobra.Command{
func init() {
rootCmd.AddCommand(gensecretCmd)

gensecretCmd.Flags().StringVarP(&gensecretCfgFile, "config-file", "c", "talconfig.yaml", "File containing configurations for talhelper")
gensecretCmd.Flags().StringVarP(&gensecretFromCfg, "from-configfile", "f", "", "Talos cluster node configuration file to generate secret from")
}

0 comments on commit 84f50ed

Please sign in to comment.