using System.Collections;
using System.Collections.Generic;
namespace CommandLine.Tests
public static void Main()
new MultInstanceMoreTests().Sequence_with_similar_values_should_be_kept();
public class MultInstanceMoreTests
public void Sequence_with_similar_values_should_be_kept()
var text = "x1 x2 x3 -c x1";
Console.WriteLine($"args= {text}");
var parser = new Parser(with =>
with.HelpWriter = Console.Out;
var result = parser.ParseArguments<Options>(args);
var options= (result as Parsed<Options>).Value;
HelpText = "Compress Match Pattern, Pipe Separated (|) ",
"*.txt", "*.log", "*.ini"
public IEnumerable<string> Compress { get; set; }
HelpText = "Input Directories.",
public IEnumerable<string> InputDirs { get; set; }
HelpText = "Metadata Name.",
public string Name { get; set; }