From 7b13148773fe048276958222be543da7dc3f5c06 Mon Sep 17 00:00:00 2001 From: Mattias Karlsson Date: Fri, 17 May 2024 14:48:02 +0200 Subject: [PATCH] Trim trailing comma in settings --- docs/input/cli/settings.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/input/cli/settings.md b/docs/input/cli/settings.md index b063831..ba44d70 100644 --- a/docs/input/cli/settings.md +++ b/docs/input/cli/settings.md @@ -105,7 +105,7 @@ A `CommandOption` can be defined as an array like the following: ```csharp [CommandOption("-n|--name ")] -public string[] Names { get; set; }, +public string[] Names { get; set; } ``` This would allow the user to run `app.exe --name Dwayne --name Elizondo --name "Mountain Dew" --name Herbert --name Camacho` and would result in a 5 element array consisting of Dwayne, Elizondo, Mountain Dew, Herbert and Camacho.