Skip to content

Commit af905a5

Browse files
committed
Add cmd.NoRemote to line 101
1 parent e80da5a commit af905a5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tools/http-api-docs/endpoints.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -98,7 +98,7 @@ func Endpoints(name string, cmd *cmds.Command) (endpoints []*Endpoint) {
9898
var arguments []*Argument
9999
var options []*Argument
100100

101-
ignore := cmd.Run == nil || IgnoreEndpoints[name]
101+
ignore := cmd.Run == nil || IgnoreEndpoints[name] || cmd.NoRemote
102102
if !ignore { // Extract arguments, options...
103103
for _, arg := range cmd.Arguments {
104104
argType := "string"

0 commit comments

Comments
 (0)