cmdutils: add -colors option

This commit is contained in:
Stefano Sabatini
2013-10-17 19:04:16 +02:00
parent d61617a523
commit 4e268285aa
4 changed files with 22 additions and 0 deletions

View File

@ -488,6 +488,12 @@ int show_layouts(void *optctx, const char *opt, const char *arg);
*/
int show_sample_fmts(void *optctx, const char *opt, const char *arg);
/**
* Print a listing containing all the color names and values recognized
* by the program.
*/
void show_colors(void *optctx, const char *opt, const char *arg);
/**
* Return a positive value if a line read from standard input
* starts with [yY], otherwise return 0.