Skip to content

Commit 7b13148

Browse files
devleadpatriksvensson
authored andcommitted
Trim trailing comma in settings
1 parent e5a6459 commit 7b13148

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/input/cli/settings.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -105,7 +105,7 @@ A `CommandOption` can be defined as an array like the following:
105105

106106
```csharp
107107
[CommandOption("-n|--name <VALUES>")]
108-
public string[] Names { get; set; },
108+
public string[] Names { get; set; }
109109
```
110110

111111
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.

0 commit comments

Comments
 (0)