Make parameter descriptions not preformated
This commit is contained in:
parent
7bdc3e8737
commit
5851a07868
1
TODO.txt
1
TODO.txt
|
@ -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
|
||||||
|
|
10
boxes.py
10
boxes.py
|
@ -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,
|
||||||
|
|
Loading…
Reference in New Issue