colors

extract colors from pictures
git clone git://git.2f30.org/colors
Log | Files | Refs | README | LICENSE

commit 5db40ca8bfe17bc50429cd15a4e8e82765426602
parent b4522641c87e626efb4785fb99996dada91f7c21
Author: sin <sin@2f30.org>
Date:   Thu,  4 Jun 2015 19:34:23 +0100

Bring up default # of clusters to 8

Diffstat:
Mcolors.1 | 2+-
Mcolors.c | 4++--
2 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/colors.1 b/colors.1 @@ -19,6 +19,6 @@ from pictures. Print empty clusters as well. .It Fl n Ar clusters .El -Set the number of clusters. It defaults to 4. +Set the number of clusters. It defaults to 8. .Sh AUTHORS .An Dimitris Papastamos Aq Mt sin@2f30.org diff --git a/colors.c b/colors.c @@ -24,7 +24,7 @@ struct cluster { char *argv0; struct cluster *clusters; -size_t nclusters = 4; +size_t nclusters = 8; TAILQ_HEAD(points, point) points; size_t npoints; int eflag; @@ -196,7 +196,7 @@ usage(void) { fprintf(stderr, "usage: %s [-e] [-n clusters] file\n", argv0); fprintf(stderr, " -e\tinclude empty clusters\n"); - fprintf(stderr, " -n\tset number of clusters, defaults to 4\n"); + fprintf(stderr, " -n\tset number of clusters, defaults to 8\n"); exit(1); }