From 3afed5e8ff84f0b8e62a68ca66c93f573e6a10dc Mon Sep 17 00:00:00 2001 From: Dan Katzuv Date: Sat, 24 Dec 2022 19:44:05 +0200 Subject: [PATCH 1/3] Fix "year" option help in submit command --- solution_runner/commands/submit_command.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/solution_runner/commands/submit_command.py b/solution_runner/commands/submit_command.py index f03460a9..d2aa6021 100644 --- a/solution_runner/commands/submit_command.py +++ b/solution_runner/commands/submit_command.py @@ -32,7 +32,7 @@ def _parse_result(result: str) -> tuple[str, bool]: type=click.IntRange(consts.FIRST_AOC_YEAR, _default_year), default=_default_year, show_default=f"last year: {_default_year}", - help="year of puzzle setting up solution for", + help="year of puzzle to submit", ) @click.option( "-d", From e7590bfabc9837a35d3458d43bc5500a224d9872 Mon Sep 17 00:00:00 2001 From: Dan Katzuv Date: Sat, 24 Dec 2022 19:46:26 +0200 Subject: [PATCH 2/3] Improve main CLI help --- solution_runner/cli.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/solution_runner/cli.py b/solution_runner/cli.py index 15a96295..cc75aa9c 100644 --- a/solution_runner/cli.py +++ b/solution_runner/cli.py @@ -9,7 +9,7 @@ @click.group(context_settings=CONTEXT) def cli() -> click.Group: """ - Main CLI holding all Advent of Code related commands. + Make your Advent of Code journey easier. For more information about Advent of Code, see https://adventofcode.com. """ From 17c52dfbec1a006c82c24b12224c43a65daae8a0 Mon Sep 17 00:00:00 2001 From: Dan Katzuv Date: Sat, 24 Dec 2022 19:47:14 +0200 Subject: [PATCH 3/3] Improve setup command help verbs --- solution_runner/commands/setup_command.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/solution_runner/commands/setup_command.py b/solution_runner/commands/setup_command.py index 36abd581..0013d84c 100644 --- a/solution_runner/commands/setup_command.py +++ b/solution_runner/commands/setup_command.py @@ -19,14 +19,14 @@ type=click.IntRange(consts.FIRST_AOC_YEAR, _default_year), default=_default_year, show_default=f"last year: {_default_year}", - help="year of puzzle setting up solution for", + help="year of puzzle to set up solution for", ) @click.option( "-d", "--day", type=consts.ADVENT_DAYS_RANGE, required=True, - help="day of puzzle setting up solution for", + help="day of puzzle to set up solution for", ) @click.option( "--use-cache/--ignore-cache",