mirror of
https://github.com/enzet/map-machine.git
synced 2025-04-29 10:17:23 +02:00
Add --hide-credit
option.
This commit is contained in:
parent
6de35ae69c
commit
671fcaba8c
2 changed files with 7 additions and 0 deletions
|
@ -84,6 +84,7 @@ class MapConfiguration:
|
|||
options.roofs,
|
||||
options.building_colors,
|
||||
options.show_overlapped,
|
||||
show_credit=not options.hide_credit,
|
||||
)
|
||||
|
||||
def is_wireframe(self) -> bool:
|
||||
|
|
|
@ -208,6 +208,12 @@ def add_map_arguments(parser: argparse.ArgumentParser) -> None:
|
|||
action=argparse.BooleanOptionalAction,
|
||||
default=False,
|
||||
)
|
||||
parser.add_argument(
|
||||
"--hide-credit",
|
||||
help="hide credit",
|
||||
action=argparse.BooleanOptionalAction,
|
||||
default=False,
|
||||
)
|
||||
|
||||
|
||||
def add_tile_arguments(parser: argparse.ArgumentParser) -> None:
|
||||
|
|
Loading…
Add table
Reference in a new issue