diff options
author | Batuhan Taskaya <isidentical@gmail.com> | 2022-05-03 16:28:46 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-05-03 06:28:46 -0700 |
commit | af1d6b1853617093645575ea1cddda91e982afbd (patch) | |
tree | 943b28656fe8b619cd9402f200c16d8bc87385e0 | |
parent | 419cc2c34ab54cb0cf81e966a49bd5262e44a806 (diff) |
Use sentence case for the group names in the parser (#1381)
-rw-r--r-- | httpie/cli/definition.py | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/httpie/cli/definition.py b/httpie/cli/definition.py index 79e66f7f..d0b7684d 100644 --- a/httpie/cli/definition.py +++ b/httpie/cli/definition.py @@ -44,7 +44,7 @@ options = ParserSpec( ####################################################################### positional_arguments = options.add_group( - 'Positional Arguments', + 'Positional arguments', description=""" These arguments come after any flags and in the order they are listed here. Only URL is required. @@ -145,7 +145,7 @@ positional_arguments.add_argument( # Content type. ####################################################################### -content_types = options.add_group('Predefined Content Types') +content_types = options.add_group('Predefined content types') content_types.add_argument( '--json', @@ -219,7 +219,7 @@ content_types.add_argument( # Content processing. ####################################################################### -processing_options = options.add_group('Content Processing Options') +processing_options = options.add_group('Content processing options') processing_options.add_argument( '--compress', @@ -284,7 +284,7 @@ _unsorted_kwargs = { 'dest': 'format_options', } -output_processing = options.add_group('Output Processing') +output_processing = options.add_group('Output processing') output_processing.add_argument( '--pretty', @@ -398,7 +398,7 @@ output_processing.add_argument( # Output options ####################################################################### -output_options = options.add_group('Output Options') +output_options = options.add_group('Output options') output_options.add_argument( '--print', |