mirror of
https://github.com/Cog-Creators/Red-DiscordBot.git
synced 2025-11-06 11:18:54 -05:00
[Docs] Add explanation for multiple arguments (#4889)
* [Docs] Add explanation for multiple arguments * ordering fix * Add example * syntax
This commit is contained in:
parent
18fea4e4a7
commit
fef56427ae
@ -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``.
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user