diff --git a/datadog/dogshell/__init__.py b/datadog/dogshell/__init__.py index 41f2e4f99..1013d1c4e 100644 --- a/datadog/dogshell/__init__.py +++ b/datadog/dogshell/__init__.py @@ -28,10 +28,12 @@ def main(): parser.add_argument('--config', help="location of your dogrc file (default ~/.dogrc)", default=os.path.expanduser('~/.dogrc')) parser.add_argument('--api-key', help="your API key, from " - "https://app.datadoghq.com/account/settings#api", + "https://app.datadoghq.com/account/settings#api " + "You can also set the enviornment variable DATADOG_API_KEY", dest='api_key', default=os.environ.get('DATADOG_API_KEY')) parser.add_argument('--application-key', help="your Application key, from " - "https://app.datadoghq.com/account/settings#api", + "https://app.datadoghq.com/account/settings#api " + "You can also set the enviornment variable DATADOG_APP_KEY", dest='app_key', default=os.environ.get('DATADOG_APP_KEY')) parser.add_argument('--pretty', help="pretty-print output (suitable for human consumption, " "less useful for scripting)", dest='format',