Fix wording in command_args_parser.quoted docstring

Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
This commit is contained in:
Maxime “pep” Buquet 2019-02-05 00:45:17 +00:00
parent ebc886d670
commit e5bc466b27
Signed by: pep
GPG key ID: DEDA74AEECA9D0F2

View file

@ -95,14 +95,14 @@ class CommandArgParser:
If there are any remaining arguments after `mandatory` and `optional`
arguments have been found (and ignore_trailing_arguments" is not True),
we happen them to the last argument of the list.
we append them to the last argument of the list.
An argument is a string (with or without whitespaces) between to quotes
An argument is a string (with or without whitespaces) between two quotes
("), or a whitespace separated word (if not inside quotes).
The argument `defaults` is a list of strings that are used when an
optional argument is missing. For example if we accept one optional
argument, zero is available but we have one value in the `defaults`
argument and none is provided, but we have one value in the `defaults`
list, we use that string inplace. The `defaults` list can only
replace missing optional arguments, not mandatory ones. And it
should not contain more than `mandatory` values. Also you cannot