From 9ad64a1764120d188d45d659dd365ab6332010f3 Mon Sep 17 00:00:00 2001 From: Florian Festi Date: Fri, 7 Sep 2018 14:47:01 +0200 Subject: [PATCH] Boxes.buildArgParser: Update doc string --- boxes/__init__.py | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/boxes/__init__.py b/boxes/__init__.py index 915b69b..f6e95ea 100755 --- a/boxes/__init__.py +++ b/boxes/__init__.py @@ -281,10 +281,18 @@ class Boxes: def buildArgParser(self, *l, **kw): """ - Add commonly used commandf line parameters + Add commonly used arguments :param \*l: parameter names + :param \*\*kw: parameters with new default values + Supported parameters are + + * floats: x, y, h, hi + * argparseSections: sx, sy + * ArgparseEdgeType: bottom_edge, top_edge + * boolarg: outside + * str (selection): nema_mount """ for arg in l: kw[arg] = None