From b7d4dc1de110bcf4365849db297d7e1c2448a29e Mon Sep 17 00:00:00 2001 From: David Bloss Date: Thu, 21 Sep 2023 10:55:21 -0500 Subject: [PATCH] update default operationName for raw query to empty --- src/cmd/graphql.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/cmd/graphql.go b/src/cmd/graphql.go index 89cb1011..407e5d76 100644 --- a/src/cmd/graphql.go +++ b/src/cmd/graphql.go @@ -165,7 +165,7 @@ func init() { graphqlCmd.Flags().BoolP("paginate", "p", false, "Automatically make additional requests to fetch all pages of results") graphqlCmd.Flags().StringP("aggregate", "a", ".", "JQ expression to use to aggregate results") graphqlCmd.Flags().StringP("query", "q", "", "The query or mutation body to use") - graphqlCmd.Flags().StringP("operationName", "o", "Raw", "The query or mutation 'operation name' to use") + graphqlCmd.Flags().StringP("operationName", "o", "", "The query or mutation 'operation name' to use") graphqlCmd.Flags().StringArrayP("field", "f", nil, "Add a variable in `key=value` format") }