diff options
Diffstat (limited to '')
-rw-r--r-- | bin/scheme.c | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/bin/scheme.c b/bin/scheme.c index 3f4d70fd..1e4d9439 100644 --- a/bin/scheme.c +++ b/bin/scheme.c @@ -204,13 +204,13 @@ int main(int argc, char *argv[]) { int opt; while (0 < (opt = getopt(argc, argv, "aghltx"))) { switch (opt) { - case 'a': gen = ansi; break; - case 'g': out = png; break; - case 'h': out = hsv; break; - case 'l': out = linux; break; - case 't': gen = terminal; break; - case 'x': out = hex; break; - default: return EX_USAGE; + break; case 'a': gen = ansi; + break; case 'g': out = png; + break; case 'h': out = hsv; + break; case 'l': out = linux; + break; case 't': gen = terminal; + break; case 'x': out = hex; + break; default: return EX_USAGE; } } struct Scheme scheme = gen(); |