From 23148ea1ac8390f0e328bb64f055512ea0aa5b9f Mon Sep 17 00:00:00 2001 From: Chris Johnston Date: Tue, 22 Oct 2019 20:11:29 -0700 Subject: [PATCH] Fix #1394 Misworded doc for command params args 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. --- docs/guides/commands/intro.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/guides/commands/intro.md b/docs/guides/commands/intro.md index c815175bd..f8ff1b596 100644 --- a/docs/guides/commands/intro.md +++ b/docs/guides/commands/intro.md @@ -111,7 +111,7 @@ optional, give it a default value (i.e., `int num = 0`). #### 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 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 create nested groups). -[!code-csharp[Groups and Submodules](samples/intro/groups.cs)] \ No newline at end of file +[!code-csharp[Groups and Submodules](samples/intro/groups.cs)]