From b9a4db7fb997ef7c665bfccb992503d04f03f924 Mon Sep 17 00:00:00 2001 From: Mattias Andrée Date: Sat, 21 Jan 2017 13:29:56 +0100 Subject: Add blind-colour-ciexyz MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Mattias Andrée --- src/blind-colour-ciexyz.c | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) create mode 100644 src/blind-colour-ciexyz.c (limited to 'src/blind-colour-ciexyz.c') diff --git a/src/blind-colour-ciexyz.c b/src/blind-colour-ciexyz.c new file mode 100644 index 0000000..018ef54 --- /dev/null +++ b/src/blind-colour-ciexyz.c @@ -0,0 +1,23 @@ +/* See LICENSE file for copyright and license details. */ +#include "util.h" + +USAGE("(X Y Z | Y)") + +int +main(int argc, char *argv[]) +{ + ARGBEGIN { + default: + usage(); + } ARGEND; + + if (argc == 1) + printf("%s\n", argv[0]); + else if (argc == 3) + printf("%s %s %s\n", argv[0], argv[1], argv[2]); + else + usage(); + + efshut(stdout, ""); + return 0; +} -- cgit v1.2.3-70-g09d2