using System.Collections.Generic;
CommandLine.Parser.Default.ParseArguments<Options>(args)
.WithNotParsed(HandleParseError);
static void RunOptions(Options opts)
static void HandleParseError(IEnumerable<Error> errs)
[Option('r', "read", Required = true, HelpText = "Input files to be processed.")]
public IEnumerable<string> InputFiles { get; set; }
HelpText = "Prints all messages to standard output.")]
public bool Verbose { get; set; }
HelpText = "Read from stdin")]
public bool stdin { get; set; }
[Value(0, MetaName = "offset", HelpText = "File offset.")]
public long? Offset { get; set; }