lib/travis/cli/api_command.rb in travis-1.8.2.travis.719.4 vs lib/travis/cli/api_command.rb in travis-1.8.2.travis.722.4
- old
+ new
@@ -20,9 +20,13 @@
c.session.instrument do |info, request|
c.time(info, request)
end
end
+ on('--debug-http', 'show HTTP(S) exchange') do |c,_|
+ c.session.debug_http = true
+ end
+
on('-X', '--enterprise [NAME]', 'use enterprise setup (optionally takes name for multiple setups)') do |c, name|
c.enterprise_name = name || 'default'
end
on('--adapter ADAPTER', 'Faraday adapter to use for HTTP requests') do |c, adapter|