mirror of
https://github.com/github/codeql.git
synced 2025-12-17 09:13:20 +01:00
24 lines
501 B
C#
24 lines
501 B
C#
namespace Semmle.Extraction.CSharp.Standalone
|
|
{
|
|
public class Program
|
|
{
|
|
public static int Main(string[] args)
|
|
{
|
|
CSharp.Extractor.SetInvariantCulture();
|
|
|
|
var options = Options.Create(args);
|
|
|
|
if (options.Help)
|
|
{
|
|
Options.ShowHelp(System.Console.Out);
|
|
return 0;
|
|
}
|
|
|
|
if (options.Errors)
|
|
return 1;
|
|
|
|
return (int)Extractor.Run(options);
|
|
}
|
|
}
|
|
}
|