X-Git-Url: http://git.tuebingen.mpg.de/?a=blobdiff_plain;f=m4%2Flls%2Finclude%2Fcolor.m4;fp=m4%2Flls%2Finclude%2Fcolor.m4;h=a23b32539e508a9d32c68d704ae56cf82fa42abb;hb=15d4c69ddcf88dd9046ed8d2847a428145a32045;hp=0000000000000000000000000000000000000000;hpb=e3f528812242a69d366cc562c78a4372bd9839c7;p=paraslash.git diff --git a/m4/lls/include/color.m4 b/m4/lls/include/color.m4 new file mode 100644 index 00000000..a23b3253 --- /dev/null +++ b/m4/lls/include/color.m4 @@ -0,0 +1,29 @@ +[option color] + short_opt = C + summary = activate color output + typestr = when + arg_info = required_arg + arg_type = string + values = {COLOR_YES = "yes", COLOR_NO = "no", COLOR_AUTO = "auto"} + default_val = auto +[option log-color] + summary = select a color for one type of log message + typestr = color_spec + arg_info = required_arg + arg_type = string + flag multiple + [help] + The format of is [ []] []. + + Valid colors for and are "normal", "black", "red", "green", + "yellow", "blue", "magenta", "cyan", and "white". + + The value must be one of "bold", "dim", "ul", "blink", + "reverse". + + Examples: + + --log-color "debug:green" + --log-color "info:yellow bold" + --log-color "notice:white red bold" + [/help]