diff --git a/commands/command.go b/commands/command.go index f88e3b206..0521d0baf 100644 --- a/commands/command.go +++ b/commands/command.go @@ -28,7 +28,6 @@ type Command struct { Format Formatter Type interface{} Subcommands map[string]*Command - Private bool } // ErrNotCallable signals a command that cannot be called. diff --git a/commands/http/parse.go b/commands/http/parse.go index d14306c41..2234c9165 100644 --- a/commands/http/parse.go +++ b/commands/http/parse.go @@ -31,10 +31,6 @@ func Parse(r *http.Request, root *cmds.Command) (cmds.Request, error) { cmd = sub } - if cmd.Private { - return nil, ErrNotFound - } - opts, args2 := parseOptions(r) args = append(args, args2...)