Browse files

Clarify when positional argument is treated as list.

  • Loading branch information...
keleshev committed Jun 23, 2012
1 parent ff11abf commit 84abe40e9b008d1c9fa50b11a92e0a3fadb905c5
Showing with 3 additions and 1 deletion.
  1. +3 −1
@@ -239,7 +239,9 @@ Use the following constructs to specify patterns:
If your usage patterns allow to match the same-named argument several times,
parser will put the matched values into a list, e.g. in case the pattern is
` FILE FILE` then `args['FILE']` will be a list; in case the
-pattern is ` FILE...` it will also be a list.
+pattern is ` FILE...` it will also be a list. Note, even if
+there is another pattern ` --foo FILE` with only one argument,
+the return value will still be a list.
Option descriptions format

0 comments on commit 84abe40

Please sign in to comment.