On 2013-09-01 16:28, Andrei Alexandrescu wrote: >> string outputFile; >> getopt(args, "output", &outputFile).min(2).max(4).restrict("a", "b", >> "c", "d"); > > What would this line do? The "output" argument expects at least two values and at most four. The values can be "a", "b", "c" or "d". -- /Jacob Carlborg