aws/aws-cli — pull request #836 by jamesls (2014-07-02 23:22:33+00:00)
Title: Use --endpoint-url for s3/s3api commands.

Fixes #549.

Previously, because of the fix_s3_host in botocore, the `--endpoint-url` wasn't being used for s3/s3api commands. The fix is to check if endpoint_url is set, and if this is an s3/s3api command, we should unregister the handler.

cc @danielgtaylor