[Docs] Add explanation for multiple arguments (#4889)

* [Docs] Add explanation for multiple arguments

* ordering fix

* Add example

* syntax
This commit is contained in:
Kreusada 2021-03-15 03:47:53 +00:00 committed by GitHub
parent 18fea4e4a7
commit fef56427ae
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -92,6 +92,13 @@ parameters.
Sometimes (especially for the last argument) these double quotes are not Sometimes (especially for the last argument) these double quotes are not
required. required.
Arguments followed by an ellipsis ``...`` means that you may provide
multiple arguments for the command.
For example, the command ``[p]cog install`` in the downloader cog has
the syntax ``cog install <repo> <cogs...>``, meaning that you can provide
1 or more ``cogs`` to install from the ``repo``.
Arguments followed by ``=value`` means that, if not specified, Arguments followed by ``=value`` means that, if not specified,
the argument will be equal to ``value``. the argument will be equal to ``value``.