[macos][mmp] Update mmp's help to note registrar and fix aot mistake (#2913)

- https://bugzilla.xamarin.com/show_bug.cgi?id=60294
This commit is contained in:
Chris Hamons 2017-10-20 15:42:14 -05:00 коммит произвёл GitHub
Родитель cdffea44b9
Коммит bbccd445fe
1 изменённых файлов: 4 добавлений и 5 удалений

Просмотреть файл

@ -288,8 +288,7 @@ namespace Xamarin.Bundler {
{ "target-framework=", "Specify the .NET target framework to use (defaults to '" + Xamarin.Utils.TargetFramework.Default + "')", v => SetTargetFramework (v) },
{ "force-thread-check", "Keep UI thread checks inside (even release) builds", v => { thread_check = true; }},
{ "disable-thread-check", "Remove UI thread checks inside (even debug) builds", v => { thread_check = false; }},
{ "registrar:", "Specify the registrar to use (dynamic [default], IL or static)", v =>
{
{ "registrar:", "Specify the registrar to use (dynamic [default], static, partial)", v => {
switch (v) {
case "static":
Registrar = RegistrarMode.Static;
@ -308,9 +307,9 @@ namespace Xamarin.Bundler {
Registrar = RegistrarMode.Default;
break;
default:
throw new MonoMacException (20, true, "The valid options for '{0}' are '{1}'.", "--registrar", "il, dynamic, static or default");
throw new MonoMacException (20, true, "The valid options for '{0}' are '{1}'.", "--registrar", "dynamic, static, partial, or default");
}
}, true /* hidden for now */
}
},
{ "sdk=", "Specifies the SDK version to compile against (version, for example \"10.9\")",
v => {
@ -358,7 +357,7 @@ namespace Xamarin.Bundler {
{ "xamarin-framework-directory=", "The framework directory", v => { xm_framework_dir = v; }, true },
{ "xamarin-full-framework", "Used with --target-framework=4.5 to select XM Full Target Framework", v => { IsUnifiedFullXamMacFramework = true; } },
{ "xamarin-system-framework", "Used with --target-framework=4.5 to select XM Full Target Framework", v => { IsUnifiedFullSystemFramework = true; } },
{ "aot:", "Specify assemblies that should be AOT compiled\n- none - No AOT (default)\n- all - Every assembly in MonoBundle\n- core - Xamarin.Mac, System, mscorlib\n- sdk - Xamarin.Mac.dll and BCL assemblies\n- |hybrid after option enables hybrid AOT which allows IL stripping but is slower (only valid for 'all')\n - Individual files can be included for AOT via +FileName.dll and excluded via -FileName.dll\n\nExamples:\n --aot:all,-MyAssembly.dll\n --aot:core|hybrid,+MyOtherAssembly.dll,-mscorlib.dll",
{ "aot:", "Specify assemblies that should be AOT compiled\n- none - No AOT (default)\n- all - Every assembly in MonoBundle\n- core - Xamarin.Mac, System, mscorlib\n- sdk - Xamarin.Mac.dll and BCL assemblies\n- |hybrid after option enables hybrid AOT which allows IL stripping but is slower (only valid for 'all')\n - Individual files can be included for AOT via +FileName.dll and excluded via -FileName.dll\n\nExamples:\n --aot:all,-MyAssembly.dll\n --aot:core,+MyOtherAssembly.dll,-mscorlib.dll",
v => {
aotOptions = new AOTOptions (v);
}