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
Copy file name to clipboardExpand all lines: cmd/create/create.go
+1-1Lines changed: 1 addition & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -33,7 +33,7 @@ func init() {
33
33
CreateCmd.PersistentFlags().StringP("file", "f", "", "Filename to create resource with, yaml/json format is supported.")
34
34
CreateCmd.MarkPersistentFlagRequired("file")
35
35
36
-
CreateCmd.PersistentFlags().StringP("type-condition", "t", "default", "Alert condition type. Only used for 'alertsconditions' command. default|synthetics|ext|plugin|nrql are supported")
36
+
CreateCmd.PersistentFlags().StringP("type-condition", "t", "default", "Alert condition type. Only used for 'alertsconditions' command. default|synthetics|ext|plugin|nrql|infrastructure are supported")
37
37
38
38
CreateCmd.PersistentFlags().StringP("output", "o", "json", "Output format. json/yaml are supported")
Copy file name to clipboardExpand all lines: cmd/delete/delete.go
+1-1Lines changed: 1 addition & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -30,7 +30,7 @@ func init() {
30
30
31
31
// Cobra supports Persistent Flags which will work for this command
32
32
// and all subcommands, e.g.:
33
-
DeleteCmd.PersistentFlags().StringP("type-condition", "t", "default", "Alert condition type. Only used for 'alertsconditions' command. default|synthetics|ext|plugin|nrql are supported")
33
+
DeleteCmd.PersistentFlags().StringP("type-condition", "t", "default", "Alert condition type. Only used for 'alertsconditions' command. default|synthetics|ext|plugin|nrql|infrastructure are supported")
34
34
35
35
DeleteCmd.PersistentFlags().StringP("output", "o", "json", "Output format. json/yaml are supported")
36
36
// DeleteCmd.PersistentFlags().String("foo", "", "A help for foo")
Copy file name to clipboardExpand all lines: cmd/get/get.go
+1-1Lines changed: 1 addition & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -33,7 +33,7 @@ func init() {
33
33
// GetCmd.PersistentFlags().String("foo", "", "A help for foo")
34
34
GetCmd.PersistentFlags().StringP("output", "o", "table", "Output format. table/json/yaml are supported")
35
35
36
-
GetCmd.PersistentFlags().StringP("type-condition", "t", "all", "Alert condition type. Only used for 'alertsconditions' command. all|conditions|synthetics|ext|plugin|nrql are supported")
36
+
GetCmd.PersistentFlags().StringP("type-condition", "t", "all", "Alert condition type. Only used for 'alertsconditions' command. all|conditions|synthetics|ext|plugin|nrql|infrastructure are supported")
37
37
// Cobra supports local flags which will only run when this command
38
38
// is called directly, e.g.:
39
39
// GetCmd.Flags().BoolP("toggle", "t", false, "Help message for toggle")
Copy file name to clipboardExpand all lines: cmd/update/update.go
+1-1Lines changed: 1 addition & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -36,7 +36,7 @@ func init() {
36
36
37
37
UpdateCmd.PersistentFlags().StringP("output", "o", "json", "Output format. json/yaml are supported")
38
38
39
-
UpdateCmd.PersistentFlags().StringP("type-condition", "t", "default", "Alert condition type. Only used for 'alertsconditions' command. default|synthetics|ext|plugin|nrql are supported")
39
+
UpdateCmd.PersistentFlags().StringP("type-condition", "t", "default", "Alert condition type. Only used for 'alertsconditions' command. default|synthetics|ext|plugin|nrql|infrastructure are supported")
40
40
41
41
UpdateCmd.PersistentFlags().StringP("script-file", "s", "", "Synthetics monitor javascript file name. Only used for 'monitor' command.")
42
42
// Cobra supports local flags which will only run when this command
0 commit comments