1
0
mirror of https://github.com/httpie/cli.git synced 2025-08-10 22:42:05 +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

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: