aboutsummaryrefslogtreecommitdiffstats
path: root/src/blind-colour-ciexyz.c
diff options
context:
space:
mode:
authorMattias Andrée <maandree@kth.se>2017-01-21 13:29:56 +0100
committerMattias Andrée <maandree@kth.se>2017-01-21 13:29:56 +0100
commitb9a4db7fb997ef7c665bfccb992503d04f03f924 (patch)
treef3c9c21bde29a09356c902b960ff8caecb16aa3b /src/blind-colour-ciexyz.c
parentAdd man pages (diff)
downloadblind-b9a4db7fb997ef7c665bfccb992503d04f03f924.tar.gz
blind-b9a4db7fb997ef7c665bfccb992503d04f03f924.tar.bz2
blind-b9a4db7fb997ef7c665bfccb992503d04f03f924.tar.xz
Add blind-colour-ciexyz
Signed-off-by: Mattias Andrée <maandree@kth.se>
Diffstat (limited to '')
-rw-r--r--src/blind-colour-ciexyz.c23
1 files changed, 23 insertions, 0 deletions
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, "<stdout>");
+ return 0;
+}