From 1c6ee72a9a4fd1f6655dcd50a4a412734f5f65b9 Mon Sep 17 00:00:00 2001 From: Chris Johnston Date: Wed, 23 Oct 2019 12:25:26 -0700 Subject: [PATCH] docs: Fix #1394 Misworded doc for command params args (#1400) 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)]