diff options
| author | Mattias Andrée <maandree@kth.se> | 2017-01-21 13:29:56 +0100 |
|---|---|---|
| committer | Mattias Andrée <maandree@kth.se> | 2017-01-21 13:29:56 +0100 |
| commit | b9a4db7fb997ef7c665bfccb992503d04f03f924 (patch) | |
| tree | f3c9c21bde29a09356c902b960ff8caecb16aa3b /src/blind-colour-ciexyz.c | |
| parent | Add man pages (diff) | |
| download | blind-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 'src/blind-colour-ciexyz.c')
| -rw-r--r-- | src/blind-colour-ciexyz.c | 23 |
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; +} |
