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 * offer a collection of different settings
* Make bolts configurable (e.g. box2.py) * Make bolts configurable (e.g. box2.py)
* setup.py * setup.py
* Use other formatter (see mx param)
* Fix error message on parsing error in web interface * Fix error message on parsing error in web interface

View File

@ -552,19 +552,13 @@ class Boxes:
self.argparser.add_argument( self.argparser.add_argument(
"--sx", action="store", type=argparseSections, "--sx", action="store", type=argparseSections,
default="50*3", default="50*3",
help="""Sections left to right in mm 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"
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": elif arg == "sy":
self.argparser.add_argument( self.argparser.add_argument(
"--sy", action="store", type=argparseSections, "--sy", action="store", type=argparseSections,
default="50*3", default="50*3",
help="""Sections back to front in mm help="""sections back to front in mm. See --sx for format""")
See --sy for format""")
elif arg == "h": elif arg == "h":
self.argparser.add_argument( self.argparser.add_argument(
"--h", action="store", type=float, default=100.0, "--h", action="store", type=float, default=100.0,