diff options
author | rsc <devnull@localhost> | 2006-06-25 23:51:22 +0000 |
---|---|---|
committer | rsc <devnull@localhost> | 2006-06-25 23:51:22 +0000 |
commit | a4a77934a59e02fac453b1a877cb22e5ea13771e (patch) | |
tree | 2f5bbf6e92974901860932289750a1bc2c362814 | |
parent | ced6fd340e1a93fe87eac906d749a1989729e1ce (diff) | |
download | plan9port-a4a77934a59e02fac453b1a877cb22e5ea13771e.tar.gz plan9port-a4a77934a59e02fac453b1a877cb22e5ea13771e.tar.bz2 plan9port-a4a77934a59e02fac453b1a877cb22e5ea13771e.zip |
add -D for testing
-rw-r--r-- | src/cmd/draw/tcolors.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/cmd/draw/tcolors.c b/src/cmd/draw/tcolors.c index 150dbeb8..caac0be6 100644 --- a/src/cmd/draw/tcolors.c +++ b/src/cmd/draw/tcolors.c @@ -42,6 +42,8 @@ dither[16] = { 15, 7, 13, 5 }; +extern int chattydrawclient; + void threadmain(int argc, char *argv[]) { @@ -54,6 +56,9 @@ threadmain(int argc, char *argv[]) ARGBEGIN{ default: goto Usage; + case 'D': + chattydrawclient = 1; + break; case 'x': fmt = "index %2luX r %3luX g %3luX b %3luX 0x%.8luX "; break; |