diff --git a/cmd/get.go b/cmd/get.go index 87cd6bc..6de643b 100644 --- a/cmd/get.go +++ b/cmd/get.go @@ -69,7 +69,7 @@ func ValidateOutputFormat() { } if OutputFormat == "jsonpath" { if len(outputFormatCheck) == 1 { - log.Fatal(fmt.Sprintf("output format '%v' requires as jsonpath like `$..id`. Please refer to [http://goessner.net/articles/JsonPath/]", OutputFormat)) + log.Fatal(fmt.Sprintf("output format '%v' requires as jsonpath like `$..id`. Please refer to [https://goessner.net/articles/JsonPath/]", OutputFormat)) } } } diff --git a/cmd/regenerate.go b/cmd/regenerate.go index 8da7657..0c9ba81 100644 --- a/cmd/regenerate.go +++ b/cmd/regenerate.go @@ -43,7 +43,7 @@ func ValidateRegenerateOutputFormat() { } if OutputFormat == "jsonpath" { if len(outputFormatCheck) == 1 { - log.Fatal(fmt.Sprintf("output format '%v' requires as jsonpath like `$..id`. Please refer to [http://goessner.net/articles/JsonPath/]", OutputFormat)) + log.Fatal(fmt.Sprintf("output format '%v' requires as jsonpath like `$..id`. Please refer to [https://goessner.net/articles/JsonPath/]", OutputFormat)) } } } diff --git a/cmd/restart.go b/cmd/restart.go index f283e15..0b95232 100644 --- a/cmd/restart.go +++ b/cmd/restart.go @@ -24,5 +24,5 @@ func init() { rootCmd.AddCommand(RestartCmd) RestartCmd.PersistentFlags().StringVarP(&OutputFormat, "output", "o", "normal", `output format could be json|yaml|normal(=delimiter)|wide(=delimiter)|jsonpath=...| - See jsonpath [http://goessner.net/articles/JsonPath/]. Delimiter defaults to horizontally aligned spaces, you could also use ',' for csv format.`) + See jsonpath [https://goessner.net/articles/JsonPath/]. Delimiter defaults to horizontally aligned spaces, you could also use ',' for csv format.`) } diff --git a/cmd/rollback.go b/cmd/rollback.go index 710335e..0353d9a 100644 --- a/cmd/rollback.go +++ b/cmd/rollback.go @@ -24,5 +24,5 @@ func init() { rootCmd.AddCommand(RollbackCmd) RollbackCmd.PersistentFlags().StringVarP(&OutputFormat, "output", "o", "normal", `output format could be json|yaml|normal(=delimiter)|wide(=delimiter)|jsonpath=...| - See jsonpath [http://goessner.net/articles/JsonPath/]. Delimiter defaults to horizontally aligned spaces, you could also use ',' for csv format.`) + See jsonpath [https://goessner.net/articles/JsonPath/]. Delimiter defaults to horizontally aligned spaces, you could also use ',' for csv format.`) } diff --git a/cmd/root.go b/cmd/root.go index f1a3b0d..09fc9a2 100644 --- a/cmd/root.go +++ b/cmd/root.go @@ -127,7 +127,7 @@ func init() { rootCmd.PersistentFlags().StringVarP(&OutputFormat, "output", "o", "normal", `output format could be json|yaml|normal(=delimiter)|wide(=delimiter)|jsonpath=...| - See jsonpath [http://goessner.net/articles/JsonPath/]. `+ + See jsonpath [https://goessner.net/articles/JsonPath/]. `+ `Delimiter defaults to horizontally aligned spaces, you could also use ',' `+ `for csv format.`) viper.BindPFlag("output", rootCmd.PersistentFlags().Lookup("output")) diff --git a/cmd/shutdown.go b/cmd/shutdown.go index a65cfd6..a078043 100644 --- a/cmd/shutdown.go +++ b/cmd/shutdown.go @@ -24,5 +24,5 @@ func init() { rootCmd.AddCommand(ShutdownCmd) ShutdownCmd.PersistentFlags().StringVarP(&OutputFormat, "output", "o", "normal", `output format could be json|yaml|normal(=delimiter)|wide(=delimiter)|jsonpath=...| - See jsonpath [http://goessner.net/articles/JsonPath/]. Delimiter defaults to horizontally aligned spaces, you could also use ',' for csv format.`) + See jsonpath [https://goessner.net/articles/JsonPath/]. Delimiter defaults to horizontally aligned spaces, you could also use ',' for csv format.`) } diff --git a/cmd/start.go b/cmd/start.go index 90f41dd..2295f51 100644 --- a/cmd/start.go +++ b/cmd/start.go @@ -24,5 +24,5 @@ func init() { rootCmd.AddCommand(StartCmd) StartCmd.PersistentFlags().StringVarP(&OutputFormat, "output", "o", "normal", `output format could be json|yaml|normal(=delimiter)|wide(=delimiter)|jsonpath=...| - See jsonpath [http://goessner.net/articles/JsonPath/]. Delimiter defaults to horizontally aligned spaces, you could also use ',' for csv format.`) + See jsonpath [https://goessner.net/articles/JsonPath/]. Delimiter defaults to horizontally aligned spaces, you could also use ',' for csv format.`) } diff --git a/cmd/stop.go b/cmd/stop.go index fc355ba..669bf4e 100644 --- a/cmd/stop.go +++ b/cmd/stop.go @@ -24,5 +24,5 @@ func init() { rootCmd.AddCommand(StopCmd) StopCmd.PersistentFlags().StringVarP(&OutputFormat, "output", "o", "normal", `output format could be json|yaml|normal(=delimiter)|wide(=delimiter)|jsonpath=...| - See jsonpath [http://goessner.net/articles/JsonPath/]. Delimiter defaults to horizontally aligned spaces, you could also use ',' for csv format.`) + See jsonpath [https://goessner.net/articles/JsonPath/]. Delimiter defaults to horizontally aligned spaces, you could also use ',' for csv format.`) }