From 45b05d7e2320e9b36fe428f584944577d06e12a7 Mon Sep 17 00:00:00 2001 From: David Schaefer Date: Wed, 13 Mar 2019 13:57:47 +0100 Subject: [PATCH] fixes typo in options: chsarp -> csharp --- src/CLI/CLI.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/CLI/CLI.cs b/src/CLI/CLI.cs index 042a3dd8..9b4eb5aa 100644 --- a/src/CLI/CLI.cs +++ b/src/CLI/CLI.cs @@ -27,7 +27,7 @@ namespace CppSharp optionSet.Add("iln=|inputlibraryname=|inputlib=", "the {NAME} of the shared library that contains the symbols of the generated code", iln => options.InputLibraryName = iln ); optionSet.Add("d|debug", "enables debug mode which generates more verbose code to aid debugging", v => options.Debug = true); optionSet.Add("c|compile", "enables automatic compilation of the generated code", v => options.Compile = true); - optionSet.Add("g=|gen=|generator=", "the {TYPE} of generated code: 'chsarp' or 'cli' ('cli' supported only for Windows)", g => { GetGeneratorKind(g, errorMessages); } ); + optionSet.Add("g=|gen=|generator=", "the {TYPE} of generated code: 'csharp' or 'cli' ('cli' supported only for Windows)", g => { GetGeneratorKind(g, errorMessages); } ); optionSet.Add("p=|platform=", "the {PLATFORM} that the generated code will target: 'win', 'osx' or 'linux'", p => { GetDestinationPlatform(p, errorMessages); } ); optionSet.Add("a=|arch=", "the {ARCHITECTURE} that the generated code will target: 'x86' or 'x64'", a => { GetDestinationArchitecture(a, errorMessages); } );