[bgen] Make --reference work as well as -r. (#8045)

It took me a while to figure out why my newly added references didn't quite
work as expected... so let's make sure future me doesn't run into the same
problem again.
This commit is contained in:
Rolf Bjarne Kvinge 2020-03-05 15:22:28 +01:00 коммит произвёл GitHub
Родитель 3fcaa41419
Коммит 7fe8c1c6c5
Не найден ключ, соответствующий данной подписи
Идентификатор ключа GPG: 4AEE18F83AFDEB23
1 изменённых файлов: 1 добавлений и 1 удалений

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

@ -242,7 +242,7 @@ public class BindingTouch {
{ "ns=", "Sets the namespace for storing helper classes", v => ns = v },
{ "unsafe", "Sets the unsafe flag for the build", v=> unsafef = true },
{ "core", "Use this to build product assemblies", v => BindThirdPartyLibrary = false },
{ "r=", "Adds a reference", v => references.Add (v) },
{ "r|reference=", "Adds a reference", v => references.Add (v) },
{ "lib=", "Adds the directory to the search path for the compiler", v => libs.Add (v) },
{ "compiler=", "Sets the compiler to use (Obsolete) ", v => compiler = v, true },
{ "sdk=", "Sets the .NET SDK to use (Obsolete)", v => {}, true },