summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorSylvain Thenault <sylvain.thenault@logilab.fr>2008-09-19 09:54:09 +0200
committerSylvain Thenault <sylvain.thenault@logilab.fr>2008-09-19 09:54:09 +0200
commitc3eb8e870d7619be8c2ee27a6df859cc7bf408b5 (patch)
treee3cb8d760bdfe57b4d197e9e51004a58b018af23 /test
parent0370f99786e1bc6665c3866c521760cc1bd73067 (diff)
downloadlogilab-common-c3eb8e870d7619be8c2ee27a6df859cc7bf408b5.tar.gz
finalize fix to get option's default in generated help without breaking other stuff...
Diffstat (limited to 'test')
-rw-r--r--test/unittest_configuration.py7
1 files changed, 5 insertions, 2 deletions
diff --git a/test/unittest_configuration.py b/test/unittest_configuration.py
index e60bb3a..e991471 100644
--- a/test/unittest_configuration.py
+++ b/test/unittest_configuration.py
@@ -99,6 +99,7 @@ dothis=yes
# you can also document the option
multiple=yop
+# boom
number=2
choice=yo
@@ -122,6 +123,7 @@ value=' '
# you can also document the option
multiple=yop
+# boom
number=2
choice=yo
@@ -167,7 +169,7 @@ Options:
-v<string>, --value=<string>
--multiple=<comma separated values>
you can also document the option [current: ('yop',)]
- --number=<int>
+ --number=<int> boom [current: 2]
--choice=<yo|ye>
--multiple-choice=<yo|ye>
--named=<key=val>
@@ -184,7 +186,7 @@ options:
-v<string>, --value=<string>
--multiple=<comma separated values>
you can also document the option [current: ('yop',)]
- --number=<int>
+ --number=<int> boom [current: 2]
--choice=<yo|ye>
--multiple-choice=<yo|ye>
--named=<key=val>
@@ -232,6 +234,7 @@ value=' '
# you can also document the option
multiple=yop
+# boom
number=2
choice=yo