mirror of
https://github.com/enzet/map-machine.git
synced 2025-05-22 21:46:24 +02:00
Add --roofs argument; rename argument.
Rename --show-tooltips to --tooltips.
This commit is contained in:
parent
d5847a8cf7
commit
fca08ab279
3 changed files with 17 additions and 5 deletions
|
@ -20,7 +20,7 @@ COMMANDS: dict[str, list[str]] = {
|
|||
"render",
|
||||
"-b",
|
||||
"10.000,20.000,10.001,20.001",
|
||||
"--show-tooltips",
|
||||
"--tooltips",
|
||||
],
|
||||
"icons": ["icons"],
|
||||
"mapcss": ["mapcss"],
|
||||
|
@ -115,7 +115,7 @@ def add_map_arguments(parser: argparse.ArgumentParser) -> None:
|
|||
metavar="<string>",
|
||||
)
|
||||
parser.add_argument(
|
||||
"--show-tooltips",
|
||||
"--tooltips",
|
||||
help="add tooltips with tags for icons in SVG files",
|
||||
action=argparse.BooleanOptionalAction,
|
||||
default=False,
|
||||
|
@ -132,6 +132,12 @@ def add_map_arguments(parser: argparse.ArgumentParser) -> None:
|
|||
action=argparse.BooleanOptionalAction,
|
||||
default=False,
|
||||
)
|
||||
parser.add_argument(
|
||||
"--roofs",
|
||||
help="draw building roofs",
|
||||
action=argparse.BooleanOptionalAction,
|
||||
default=True,
|
||||
)
|
||||
|
||||
|
||||
def add_tile_arguments(parser: argparse.ArgumentParser) -> None:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue