Skip to content

Commit

Permalink
Argparse error msg
Browse files Browse the repository at this point in the history
  • Loading branch information
david-istvan committed Apr 7, 2024
1 parent b7a8209 commit f5ca9fb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/map_generator.py
Original file line number Diff line number Diff line change
Expand Up @@ -179,4 +179,4 @@ def render_map(self, size, seed):
if(options.render):
map_tools.render_map(size, seed)
else:
raise Exception('Exactly one of [-generate | -render] should be chosen.')
raise Exception('Either -generate or -render (or both) should be chosen.')

0 comments on commit f5ca9fb

Please sign in to comment.