Skip to content

Commit

Permalink
Added default value to input param
Browse files Browse the repository at this point in the history
Co-authored-by: Simon Bengtsson <SlyngDK@users.noreply.github.com>
  • Loading branch information
staal0 and SlyngDK authored Feb 27, 2024
1 parent 930c0dc commit 197e530
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion main.go
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ var ignoredNetworkNames = []string{"ingress", "host", "none"}

func init() {
// Cobra parameters
rootCmd.PersistentFlags().StringVarP(&configFile, "config", "i", "", "Configuration YAML file")
rootCmd.PersistentFlags().StringVarP(&configFile, "config", "i", "config.yaml", "Configuration YAML file")
}

func main() {
Expand Down

0 comments on commit 197e530

Please sign in to comment.