Use sentence case for the group names in the parser (#1381)

This commit is contained in:
Batuhan Taskaya 2022-05-03 16:28:46 +03:00 committed by GitHub
parent 419cc2c34a
commit af1d6b1853
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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',