1
0
mirror of https://github.com/httpie/cli.git synced 2024-11-28 08:38:44 +02:00

Sort available style choices (#1166)

This commit is contained in:
Mickaël Schoentgen 2021-09-27 16:55:10 +02:00 committed by GitHub
parent 9c89c703ae
commit 727b8a2c05
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -252,7 +252,7 @@ output_processing.add_argument(
dest='style',
metavar='STYLE',
default=DEFAULT_STYLE,
choices=AVAILABLE_STYLES,
choices=sorted(AVAILABLE_STYLES),
help='''
Output coloring style (default is "{default}"). It can be One of: