Skip to content

Commit

Permalink
Merge pull request #134 from DopplerHQ/tom_fix_no_check_version
Browse files Browse the repository at this point in the history
Fix --no-check-version flag not being respected
  • Loading branch information
Piccirello authored Sep 28, 2020
2 parents 81b5b22 + a6ffd02 commit 169c40d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/cmd/root.go
Original file line number Diff line number Diff line change
Expand Up @@ -149,7 +149,7 @@ func init() {
rootCmd.PersistentFlags().StringP("token", "t", "", "doppler token")
rootCmd.PersistentFlags().String("api-host", "https://api.doppler.com", "The host address for the Doppler API")
rootCmd.PersistentFlags().String("dashboard-host", "https://dashboard.doppler.com", "The host address for the Doppler Dashboard")
rootCmd.PersistentFlags().Bool("no-update", !version.PerformVersionCheck, "disable checking for Doppler CLI updates")
rootCmd.PersistentFlags().Bool("no-check-version", !version.PerformVersionCheck, "disable checking for Doppler CLI updates")
rootCmd.PersistentFlags().Bool("no-verify-tls", false, "do not verify the validity of TLS certificates on HTTP requests (not recommended)")
rootCmd.PersistentFlags().Bool("no-timeout", !http.UseTimeout, "disable http timeout")
rootCmd.PersistentFlags().Duration("timeout", http.TimeoutDuration, "max http request duration")
Expand Down

0 comments on commit 169c40d

Please sign in to comment.