ansible/ansible — pull request #6004 by res0nat0r (2014-02-14 05:18:58+00:00)
Title: Fix ansible-doc option output.

This PR will sort options before displaying them to the user, it will also only display the equals sign in summary mode for required options.

````bash
$ ansible-doc s3 -s
- name: idempotent S3 module putting a file into S3.
action: s3
aws_access_key # AWS access key. If not set then the value of the AWS_ACCESS_KEY environment variable is
aws_secret_key # AWS secret key. If not set then the value of the AWS_SECRET_KEY environment variable is
bucket= # Bucket name.
dest # The destination file path when downloading an object/key with a GET operation.
expiration # Time limit (in seconds) for the URL generated and returned by S3/Walrus when performing
mode= # Switches the module behaviour between put (upload), get (download), geturl (return downl
object # Keyname of the object inside the bucket. Can be used to create "virtual directories", se
overwrite # Force overwrite either locally on the filesystem or remotely with the object/key. Used w
s3_url # S3 URL endpoint. If not specified then the S3_URL environment variable is used, if that
src # The source file path when performing a PUT operation.
````

Previously:

````bash
$ ansible-doc s3 -s
- name: idempotent S3 module putting a file into S3.
action: s3
aws_secret_key= # AWS secret key. If not set then the value of the AWS_SECRET_KEY environment variable is
src= # The source file path when performing a PUT operation.
aws_access_key= # AWS access key. If not set then the value of the AWS_ACCESS_KEY environment variable is
dest= # The destination file path when downloading an object/key with a GET operation.
object= # Keyname of the object inside the bucket. Can be used to create "virtual directories", se
bucket= # Bucket name.
mode= # Switches the module behaviour between put (upload), get (download), geturl (return downl
s3_url= # S3 URL endpoint. If not specified then the S3_URL environment variable is used, if that
overwrite= # Force overwrite either locally on the filesystem or remotely with the object/key. Used w
expiration= # Time limit (in seconds) for the URL generated and returned by S3/Walrus when performing
````