mirror of
https://github.com/httpie/cli.git
synced 2024-11-07 16:34:35 +01:00
Use sentence case for the group names in the parser (#1381)
This commit is contained in:
parent
419cc2c34a
commit
af1d6b1853
@ -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',
|
||||
|
Loading…
Reference in New Issue
Block a user