diff --git a/commands/request.go b/commands/request.go index d71011d914ed8301beae7e1247140570a057be70..d987770b9ad419ee64897bc3ded53146a65fad91 100644 --- a/commands/request.go +++ b/commands/request.go @@ -257,6 +257,7 @@ func NewEmptyRequest() (Request, error) { } // NewRequest returns a request initialized with given arguments +// An non-nil error will be returned if the provided option values are invalid func NewRequest(path []string, opts optMap, args []interface{}, cmd *Command, optDefs map[string]Option) (Request, error) { if path == nil { path = make([]string, 0)