mirror of
https://github.com/httpie/cli.git
synced 2025-02-10 14:49:20 +01:00
Sort available style choices (#1166)
This commit is contained in:
parent
9c89c703ae
commit
727b8a2c05
@ -252,7 +252,7 @@ output_processing.add_argument(
|
|||||||
dest='style',
|
dest='style',
|
||||||
metavar='STYLE',
|
metavar='STYLE',
|
||||||
default=DEFAULT_STYLE,
|
default=DEFAULT_STYLE,
|
||||||
choices=AVAILABLE_STYLES,
|
choices=sorted(AVAILABLE_STYLES),
|
||||||
help='''
|
help='''
|
||||||
Output coloring style (default is "{default}"). It can be One of:
|
Output coloring style (default is "{default}"). It can be One of:
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user