From a273f7ce7b5aa0ee2243c43d230a56110b08ad03 Mon Sep 17 00:00:00 2001 From: kyleknap Date: Fri, 20 Feb 2015 12:36:50 -0800 Subject: [PATCH] Add topics command to main help usage --- awscli/data/cli.json | 2 +- tests/unit/docs/test_help_output.py | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/awscli/data/cli.json b/awscli/data/cli.json index bad4f35404c7..166d0c7c4f74 100644 --- a/awscli/data/cli.json +++ b/awscli/data/cli.json @@ -1,7 +1,7 @@ { "description": "The AWS Command Line Interface is a unified tool to manage your AWS services.", "synopsis": "aws [options] [parameters]", - "help_usage": "Use *aws command help* for information on a specific command.", + "help_usage": "Use *aws command help* for information on a specific command. Use *aws help topics* to view a list of available help topics.", "options": { "debug": { "action": "store_true", diff --git a/tests/unit/docs/test_help_output.py b/tests/unit/docs/test_help_output.py index 504d8605cd85..d26a5efd13d8 100644 --- a/tests/unit/docs/test_help_output.py +++ b/tests/unit/docs/test_help_output.py @@ -36,6 +36,7 @@ def test_output(self): self.assert_contains( 'The AWS Command Line Interface is a unified tool ' 'to manage your AWS services.') + self.assert_contains('Use *aws help topics* to view') # Verify we see the docs for top level params, so pick # a few representative types of params. self.assert_contains('``--endpoint-url``')