Skip to content

Instantly share code, notes, and snippets.

@babcca
Created May 3, 2012 15:34
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save babcca/2586549 to your computer and use it in GitHub Desktop.
Save babcca/2586549 to your computer and use it in GitHub Desktop.
min = Option("min", ..., new IntType(0));
max = Option("max", ..., new IntType(100));
@babcca
Copy link
Author

babcca commented May 3, 2012

try
{
parser.Parse(args);
}
catch (OptionParserException)
{
parser.WriteHelp(Console.Out);
Environment.Exit(0);
}

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment