This fixes the docs for the command service, where it specifies that arguments that use the params keyword are comma separated, when they are actually space separated.
This commit is contained in:
committed by
Christopher F
parent
a08d529645
commit
1c6ee72a9a
@@ -111,7 +111,7 @@ optional, give it a default value (i.e., `int num = 0`).
|
|||||||
|
|
||||||
#### Parameters with Spaces
|
#### Parameters with Spaces
|
||||||
|
|
||||||
To accept a comma-separated list, set the parameter to `params Type[]`.
|
To accept a space-separated list, set the parameter to `params Type[]`.
|
||||||
|
|
||||||
Should a parameter include spaces, the parameter **must** be
|
Should a parameter include spaces, the parameter **must** be
|
||||||
wrapped in quotes. For example, for a command with a parameter
|
wrapped in quotes. For example, for a command with a parameter
|
||||||
@@ -218,4 +218,4 @@ Submodules are "modules" that reside within another one. Typically,
|
|||||||
submodules are used to create nested groups (although not required to
|
submodules are used to create nested groups (although not required to
|
||||||
create nested groups).
|
create nested groups).
|
||||||
|
|
||||||
[!code-csharp[Groups and Submodules](samples/intro/groups.cs)]
|
[!code-csharp[Groups and Submodules](samples/intro/groups.cs)]
|
||||||
|
|||||||
Reference in New Issue
Block a user