Skip to content

Commit

Permalink
scripts/generate_icons.py: mark --config-file argument as required
Browse files Browse the repository at this point in the history
Fixes a confusing error message when the the --config-file argument wasn't set.
  • Loading branch information
sertonix authored Oct 12, 2024
1 parent 5005e02 commit 719d1c3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/generate_icons.py
Original file line number Diff line number Diff line change
Expand Up @@ -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()

Expand Down

0 comments on commit 719d1c3

Please sign in to comment.