comparison tests/test-extension.t @ 31110:7fec37746417

color: add a 'ui.color' option to control color behavior This new option control whether or not color will be used. It mirror the behavior of '--color'. I usually avoid adding new option to '[ui]' as the section is already filled with many option. However, I feel like 'color' is central enough to deserves a spot in this '[ui]' section. For now the option is not documented so it is still marked as experimental. Once it get documented and official, we should be able to deprecate the color extensions. There is more cleanup to do before that documentation is written, but we need this option early to made them. Having that option will allow for more cleanup of the initialisation process and proper separation between color configuration.
author Pierre-Yves David <pierre-yves.david@ens-lyon.org>
date Sat, 25 Feb 2017 19:44:23 +0100
parents 8346b2f09e79
children df0a0734304a
comparison
equal deleted inserted replaced
31109:53230c5bb273 31110:7fec37746417
531 -y --noninteractive do not prompt, automatically pick the first choice for 531 -y --noninteractive do not prompt, automatically pick the first choice for
532 all prompts 532 all prompts
533 -q --quiet suppress output 533 -q --quiet suppress output
534 -v --verbose enable additional output 534 -v --verbose enable additional output
535 --color TYPE when to colorize (boolean, always, auto, never, or 535 --color TYPE when to colorize (boolean, always, auto, never, or
536 debug) (EXPERIMENTAL) (default: never) 536 debug) (EXPERIMENTAL)
537 --config CONFIG [+] set/override config option (use 'section.name=value') 537 --config CONFIG [+] set/override config option (use 'section.name=value')
538 --debug enable debugging output 538 --debug enable debugging output
539 --debugger start debugger 539 --debugger start debugger
540 --encoding ENCODE set the charset encoding (default: ascii) 540 --encoding ENCODE set the charset encoding (default: ascii)
541 --encodingmode MODE set the charset encoding mode (default: strict) 541 --encodingmode MODE set the charset encoding mode (default: strict)
570 -y --noninteractive do not prompt, automatically pick the first choice for 570 -y --noninteractive do not prompt, automatically pick the first choice for
571 all prompts 571 all prompts
572 -q --quiet suppress output 572 -q --quiet suppress output
573 -v --verbose enable additional output 573 -v --verbose enable additional output
574 --color TYPE when to colorize (boolean, always, auto, never, or 574 --color TYPE when to colorize (boolean, always, auto, never, or
575 debug) (EXPERIMENTAL) (default: never) 575 debug) (EXPERIMENTAL)
576 --config CONFIG [+] set/override config option (use 'section.name=value') 576 --config CONFIG [+] set/override config option (use 'section.name=value')
577 --debug enable debugging output 577 --debug enable debugging output
578 --debugger start debugger 578 --debugger start debugger
579 --encoding ENCODE set the charset encoding (default: ascii) 579 --encoding ENCODE set the charset encoding (default: ascii)
580 --encodingmode MODE set the charset encoding mode (default: strict) 580 --encodingmode MODE set the charset encoding mode (default: strict)
852 -y --noninteractive do not prompt, automatically pick the first choice for 852 -y --noninteractive do not prompt, automatically pick the first choice for
853 all prompts 853 all prompts
854 -q --quiet suppress output 854 -q --quiet suppress output
855 -v --verbose enable additional output 855 -v --verbose enable additional output
856 --color TYPE when to colorize (boolean, always, auto, never, or 856 --color TYPE when to colorize (boolean, always, auto, never, or
857 debug) (EXPERIMENTAL) (default: never) 857 debug) (EXPERIMENTAL)
858 --config CONFIG [+] set/override config option (use 'section.name=value') 858 --config CONFIG [+] set/override config option (use 'section.name=value')
859 --debug enable debugging output 859 --debug enable debugging output
860 --debugger start debugger 860 --debugger start debugger
861 --encoding ENCODE set the charset encoding (default: ascii) 861 --encoding ENCODE set the charset encoding (default: ascii)
862 --encodingmode MODE set the charset encoding mode (default: strict) 862 --encodingmode MODE set the charset encoding mode (default: strict)
889 -y --noninteractive do not prompt, automatically pick the first choice for 889 -y --noninteractive do not prompt, automatically pick the first choice for
890 all prompts 890 all prompts
891 -q --quiet suppress output 891 -q --quiet suppress output
892 -v --verbose enable additional output 892 -v --verbose enable additional output
893 --color TYPE when to colorize (boolean, always, auto, never, or 893 --color TYPE when to colorize (boolean, always, auto, never, or
894 debug) (EXPERIMENTAL) (default: never) 894 debug) (EXPERIMENTAL)
895 --config CONFIG [+] set/override config option (use 'section.name=value') 895 --config CONFIG [+] set/override config option (use 'section.name=value')
896 --debug enable debugging output 896 --debug enable debugging output
897 --debugger start debugger 897 --debugger start debugger
898 --encoding ENCODE set the charset encoding (default: ascii) 898 --encoding ENCODE set the charset encoding (default: ascii)
899 --encodingmode MODE set the charset encoding mode (default: strict) 899 --encodingmode MODE set the charset encoding mode (default: strict)
964 -y --noninteractive do not prompt, automatically pick the first choice for 964 -y --noninteractive do not prompt, automatically pick the first choice for
965 all prompts 965 all prompts
966 -q --quiet suppress output 966 -q --quiet suppress output
967 -v --verbose enable additional output 967 -v --verbose enable additional output
968 --color TYPE when to colorize (boolean, always, auto, never, or 968 --color TYPE when to colorize (boolean, always, auto, never, or
969 debug) (EXPERIMENTAL) (default: never) 969 debug) (EXPERIMENTAL)
970 --config CONFIG [+] set/override config option (use 'section.name=value') 970 --config CONFIG [+] set/override config option (use 'section.name=value')
971 --debug enable debugging output 971 --debug enable debugging output
972 --debugger start debugger 972 --debugger start debugger
973 --encoding ENCODE set the charset encoding (default: ascii) 973 --encoding ENCODE set the charset encoding (default: ascii)
974 --encodingmode MODE set the charset encoding mode (default: strict) 974 --encodingmode MODE set the charset encoding mode (default: strict)
1000 -y --noninteractive do not prompt, automatically pick the first choice for 1000 -y --noninteractive do not prompt, automatically pick the first choice for
1001 all prompts 1001 all prompts
1002 -q --quiet suppress output 1002 -q --quiet suppress output
1003 -v --verbose enable additional output 1003 -v --verbose enable additional output
1004 --color TYPE when to colorize (boolean, always, auto, never, or 1004 --color TYPE when to colorize (boolean, always, auto, never, or
1005 debug) (EXPERIMENTAL) (default: never) 1005 debug) (EXPERIMENTAL)
1006 --config CONFIG [+] set/override config option (use 'section.name=value') 1006 --config CONFIG [+] set/override config option (use 'section.name=value')
1007 --debug enable debugging output 1007 --debug enable debugging output
1008 --debugger start debugger 1008 --debugger start debugger
1009 --encoding ENCODE set the charset encoding (default: ascii) 1009 --encoding ENCODE set the charset encoding (default: ascii)
1010 --encodingmode MODE set the charset encoding mode (default: strict) 1010 --encodingmode MODE set the charset encoding mode (default: strict)