From 9a65775f7a888f4f0fcba1da73d5c525a7a580c6 Mon Sep 17 00:00:00 2001 From: Bruno Raoult Date: Fri, 3 Dec 2021 19:18:57 +0100 Subject: [PATCH] revert default part to 1 --- 2021/day01/aoc-c.c | 2 +- 2021/day02/aoc-c.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/2021/day01/aoc-c.c b/2021/day01/aoc-c.c index 192cf88..51318b7 100644 --- a/2021/day01/aoc-c.c +++ b/2021/day01/aoc-c.c @@ -85,7 +85,7 @@ static int usage(char *prg) int main(int ac, char **av) { int opt; - u32 exercise = 2, res; + u32 exercise = 1, res; while ((opt = getopt(ac, av, "d:p:")) != -1) { switch (opt) { diff --git a/2021/day02/aoc-c.c b/2021/day02/aoc-c.c index 6d4abf3..cd052ed 100644 --- a/2021/day02/aoc-c.c +++ b/2021/day02/aoc-c.c @@ -71,7 +71,7 @@ static int usage(char *prg) int main(int ac, char **av) { int opt; - u32 exercise = 2, res; + u32 exercise = 1, res; while ((opt = getopt(ac, av, "d:p:")) != -1) { switch (opt) {