Skip to content

Commit

Permalink
Trim trailing comma in settings
Browse files Browse the repository at this point in the history
  • Loading branch information
devlead authored and patriksvensson committed May 17, 2024
1 parent e5a6459 commit 7b13148
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/input/cli/settings.md
Original file line number Diff line number Diff line change
Expand Up @@ -105,7 +105,7 @@ A `CommandOption` can be defined as an array like the following:

```csharp
[CommandOption("-n|--name <VALUES>")]
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.
Expand Down

0 comments on commit 7b13148

Please sign in to comment.