From 719d1c36c004ddd99782ffc22e3951f9e89af830 Mon Sep 17 00:00:00 2001 From: Sertonix Date: Sat, 12 Oct 2024 17:57:40 +0000 Subject: [PATCH] scripts/generate_icons.py: mark --config-file argument as required Fixes a confusing error message when the the --config-file argument wasn't set. --- scripts/generate_icons.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/generate_icons.py b/scripts/generate_icons.py index b5df0286..b1d329bc 100755 --- a/scripts/generate_icons.py +++ b/scripts/generate_icons.py @@ -258,7 +258,7 @@ def main(config_file: Path) -> None: if __name__ == "__main__": parser = ArgumentParser() _ = parser.add_argument( - "-c", "--config-file", help="The config file to read.", type=Path + "-c", "--config-file", help="The config file to read.", type=Path, required=True ) args = parser.parse_args()