Skip to content

Commit

Permalink
fix: fix help for --no-cache flag
Browse files Browse the repository at this point in the history
  • Loading branch information
fiam committed Oct 7, 2022
1 parent dee11d6 commit 56eed6a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cli/commands/root.go
Original file line number Diff line number Diff line change
Expand Up @@ -148,7 +148,7 @@ func init() {
rootCmd.PersistentFlags().BoolVar(&enableDebugMode, "debug", false, "enables the debug mode so that all requests and responses will be logged")
rootCmd.PersistentFlags().BoolVar(&jsonEncodedLogging, "json-encoded-logging", false, "switches the logging to json encoded logging")
rootCmd.PersistentFlags().StringVar(&_wunderGraphDirConfig, "wundergraph-dir", files.WunderGraphDirName, "path to your .wundergraph directory")
rootCmd.PersistentFlags().BoolVar(&disableCache, "no-cache", false, "Enable cache")
rootCmd.PersistentFlags().BoolVar(&disableCache, "no-cache", false, "Disable cache")
}

func buildLogger(level abstractlogger.Level) abstractlogger.Logger {
Expand Down

0 comments on commit 56eed6a

Please sign in to comment.