Added missing roles/options to parse_color_setting()'s docstring.
This commit is contained in:
parent
81463ce0a1
commit
a346a88d46
|
@ -154,15 +154,17 @@ def parse_color_setting(config_string):
|
||||||
definition will augment the base palette definition.
|
definition will augment the base palette definition.
|
||||||
|
|
||||||
Valid roles:
|
Valid roles:
|
||||||
'error', 'notice', 'sql_field', 'sql_coltype', 'sql_keyword', 'sql_table',
|
'error', 'success', 'warning', 'notice', 'sql_field', 'sql_coltype',
|
||||||
'http_info', 'http_success', 'http_redirect', 'http_bad_request',
|
'sql_keyword', 'sql_table', 'http_info', 'http_success',
|
||||||
'http_not_found', 'http_server_error'
|
'http_redirect', 'http_not_modified', 'http_bad_request',
|
||||||
|
'http_not_found', 'http_server_error', 'migrate_heading',
|
||||||
|
'migrate_label'
|
||||||
|
|
||||||
Valid colors:
|
Valid colors:
|
||||||
'black', 'red', 'green', 'yellow', 'blue', 'magenta', 'cyan', 'white'
|
'black', 'red', 'green', 'yellow', 'blue', 'magenta', 'cyan', 'white'
|
||||||
|
|
||||||
Valid options:
|
Valid options:
|
||||||
'bold', 'underscore', 'blink', 'reverse', 'conceal'
|
'bold', 'underscore', 'blink', 'reverse', 'conceal', 'noreset'
|
||||||
"""
|
"""
|
||||||
if not config_string:
|
if not config_string:
|
||||||
return PALETTES[DEFAULT_PALETTE]
|
return PALETTES[DEFAULT_PALETTE]
|
||||||
|
|
Loading…
Reference in New Issue