grabc

Tool to identify pixel colors on X
git clone https://git.sinitax.com/muquit/grabc
Log | Files | Refs | README | Upstream | sfeed.txt

commit c17b8730210f8af1de6b31a92de1fad238b59ee6
parent 8b62dd9931eb3d40ea5d04335f8bd9392bc36f5e
Author: muquit <muquit@gmail.com>
Date:   Sat, 14 Apr 2018 22:04:51 -0400

Update usage

Diffstat:
Mgrabc.c | 19++++++++++---------
1 file changed, 10 insertions(+), 9 deletions(-)

diff --git a/grabc.c b/grabc.c @@ -84,15 +84,16 @@ static void show_usage(void) static char *options[]= { -" -v - show version info", -" -h - show this usage", -" -hex - print pixel value as Hex on stdout", -" -rgb - print pixel value as RGB on stderr", -" -W - print the Window id at mouse click", -" -w id - window id in hex, use -l +x+y", -" -l +x+y - pixel co-ordinate. requires window id", -" -d - show debug messages", -" -a - Print all 16 bits of color. Default is high order 8 bits", +" -v - show version info", +" -h - show this usage", +" -hex - print pixel value as Hex on stdout", +" -rgb - print pixel value as RGB on stderr", +" -W - print the Window id at mouse click", +" -w id - window id in hex, use -l +x+y", +" -l +x+y - pixel co-ordinate. requires window id", +" -d - show debug messages", +" -a - Print all 16 bits RGB components of color", +" Default is high order 8 bits of components", "Example:", "* Print pixel color in hex on stdout:", " $ grabc",