github/developer.github.com — pull request #630 by Vdragon (2014-10-30 05:46:23+00:00)
Title: Fix confusing about missing "plan" field of user data due to missing "user" scope

Readers may confuse when they create OAuth token following the example
curl command instead on the web form and noticed that the "plan" user
data field not displayed even when they're authenticated successfully
due to the missing "user" scope access.

This commit fixes this issue by also request "repo", "public_repo",
"user", and "gist" scope in the Oauth token command-line request cases
thus the result will be same with the one using GitHub's webform.

NOTE that this change may needs further lingual and cosmetic patches to make it
well-looking enough.

Signed-off-by: Ｖ字龍(Vdragon)