diff --git a/Library/Homebrew/utils/curl.rb b/Library/Homebrew/utils/curl.rb
index f424a2b4b8a331144cff7989d1f480480b6aecf1..274dc6f201a8ce2a916996c98a880feeb8137760 100644
--- a/Library/Homebrew/utils/curl.rb
+++ b/Library/Homebrew/utils/curl.rb
@@ -81,8 +81,8 @@ def curl_with_workarounds(*args, secrets: nil, print_stdout: nil, print_stderr:
   result
 end
 
-def curl(*args, **options)
-  result = curl_with_workarounds(*args, print_stdout: true, **options)
+def curl(*args, print_stdout: true, **options)
+  result = curl_with_workarounds(*args, print_stdout: print_stdout, **options)
   result.assert_success!
   result
 end