File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed
Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -57,8 +57,8 @@ func NewCmdApi(f *cmdutil.Factory, runF func(*ApiOptions) error) *cobra.Command
5757The endpoint argument should either be a path of a GitHub API v3 endpoint, or
5858"graphql" to access the GitHub API v4.
5959
60- Placeholder values ":owner" and ":repo " in the endpoint argument will get replaced
61- with values from the repository of the current directory.
60+ Placeholder values ":owner", ":repo", and ":branch " in the endpoint argument will
61+ get replaced with values from the repository of the current directory.
6262
6363The default HTTP request method is "GET" normally and "POST" if any parameters
6464were added. Override the method with '--method'.
@@ -71,8 +71,8 @@ on the format of the value:
7171
7272- literal values "true", "false", "null", and integer numbers get converted to
7373 appropriate JSON types;
74- - placeholder values ":owner" and ":repo " get populated with values from the
75- repository of the current directory;
74+ - placeholder values ":owner", ":repo", and ":branch " get populated with values
75+ from the repository of the current directory;
7676- if the value starts with "@", the rest of the value is interpreted as a
7777 filename to read the value from. Pass "-" to read from standard input.
7878
You can’t perform that action at this time.
0 commit comments