diff --git a/src/client.go b/src/client.go index c55c30d..95c8e3e 100644 --- a/src/client.go +++ b/src/client.go @@ -13,9 +13,9 @@ ) type ClientCommand struct { - URL string `short:"u" long:"uri" description:"The URI to send the request to" required:"true"` Headers []string `long:"header" description:"A header to add to request in the form name:value. Use multiple times for multiple headers."` Method string `short:"m" long:"method" description:"HTTP method for request" default:"GET"` + URL string `short:"u" long:"url" description:"The URL to send the request to" required:"true"` Body string `short:"b" long:"body" description:"Request body to send"` }