From a9820de51de94988a3f83095a2cb8b29b97959c1 Mon Sep 17 00:00:00 2001 From: Markus Strehle <11627201+strehle@users.noreply.github.com> Date: Wed, 6 Dec 2023 07:23:24 +0100 Subject: [PATCH] reformat arguments (#131) --- lib/uaa/cli/curl.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/uaa/cli/curl.rb b/lib/uaa/cli/curl.rb index 5d2ea1d..401a44e 100644 --- a/lib/uaa/cli/curl.rb +++ b/lib/uaa/cli/curl.rb @@ -30,7 +30,7 @@ class CurlCli < CommonCli define_option :cacert, "-C", "--cacert ", "CA certificate to verify peer against" define_option :bodyonly, "-b", "--bodyonly", "show body only in response" - desc "curl [path]", "CURL to a UAA endpoint", :request, :data, :header, :insecure , :bodyonly, :cacert do |path| + desc "curl [path]", "CURL to a UAA endpoint", :request, :data, :header, :insecure, :cacert, :bodyonly do |path| return say_command_help(["curl"]) unless path uri = parse_uri(path)