Make parameter descriptions not preformated

This commit is contained in:
Florian Festi 2016-03-16 11:41:14 +01:00
parent 7bdc3e8737
commit 5851a07868
2 changed files with 2 additions and 9 deletions

View File

@ -7,5 +7,4 @@
* offer a collection of different settings
* Make bolts configurable (e.g. box2.py)
* setup.py
* Use other formatter (see mx param)
* Fix error message on parsing error in web interface

View File

@ -552,19 +552,13 @@ class Boxes:
self.argparser.add_argument(
"--sx", action="store", type=argparseSections,
default="50*3",
help="""Sections left to right in mm
Possible formats:
* overallwidth/numberof sections e.g. "250/5"
* sectionwith*numberofsections e.g. "50*5"
* section widths separated by : e.g. "30:25.5:70"
help="""sections left to right in mm. Possible formats: overallwidth/numberof sections e.g. "250/5"; sectionwith*numberofsections e.g. "50*5"; section widths separated by ":" e.g. "30:25.5:70"
""")
elif arg == "sy":
self.argparser.add_argument(
"--sy", action="store", type=argparseSections,
default="50*3",
help="""Sections back to front in mm
See --sy for format""")
help="""sections back to front in mm. See --sx for format""")
elif arg == "h":
self.argparser.add_argument(
"--h", action="store", type=float, default=100.0,