You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Label: "Invalid output format '"+outputFormat+"'. Select a valid output format",
95
+
Items: []string{"table", "json", "yaml"},
96
+
}
97
+
_, outputFormat, err=outputPrompt.Run()
98
+
utils.PrintError(err)
99
+
}
87
100
88
101
switchoutputFormat {
89
102
case"json":
@@ -146,5 +159,5 @@ func init() {
146
159
experimentsCmd.Flags().Bool("all", false, "Set to true to display all Chaos experiments")
147
160
experimentsCmd.Flags().StringP("chaos-infra", "A", "", "Set the Chaos Infrastructure name to display all Chaos experiments targeted towards that particular Chaos Infrastructure.")
148
161
149
-
experimentsCmd.Flags().StringP("output", "o", "", "Output format. One of:\njson|yaml")
162
+
experimentsCmd.Flags().StringP("output", "o", "", "Output format. One of:\ntable|json|yaml")
0 commit comments