From db6681f2efed03068156f3e9a953283ca134bfc7 Mon Sep 17 00:00:00 2001
From: Matt Tagg <wamatt@gmail.com>
Date: Tue, 18 Oct 2016 18:40:57 -0700
Subject: [PATCH] brew.sh: tweak xcode hint to auto-accept license

Small improvement to the xcode license hint. Reduces friction by allowing user to accept the license in a single step.
Reference: http://apple.stackexchange.com/questions/175069/how-to-accept-xcode-license
---
 Library/Homebrew/brew.sh | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/Library/Homebrew/brew.sh b/Library/Homebrew/brew.sh
index cbf39d0d7d..6189fac845 100644
--- a/Library/Homebrew/brew.sh
+++ b/Library/Homebrew/brew.sh
@@ -165,7 +165,7 @@ EOS
     then
       odie <<EOS
 You have not agreed to the Xcode license. Please resolve this by running:
-  sudo xcodebuild -license
+  sudo xcodebuild -license accept
 EOS
     fi
   fi
-- 
GitLab