mirror of
https://github.com/enzet/map-machine.git
synced 2025-05-25 06:56:25 +02:00
Make --scale argument optional.
This commit is contained in:
parent
af49a3e4b8
commit
4e92c8e9c2
1 changed files with 1 additions and 2 deletions
|
@ -41,8 +41,7 @@ def parse_options(args) -> argparse.Namespace:
|
||||||
help="OSM zoom level (may not be integer, default is 18)",
|
help="OSM zoom level (may not be integer, default is 18)",
|
||||||
default=18,
|
default=18,
|
||||||
dest="scale",
|
dest="scale",
|
||||||
type=float,
|
type=float)
|
||||||
required=True)
|
|
||||||
parser.add_argument(
|
parser.add_argument(
|
||||||
"-nn", "--no-draw-nodes",
|
"-nn", "--no-draw-nodes",
|
||||||
dest="draw_nodes",
|
dest="draw_nodes",
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue