[offset-tool] fix assignment for GeniOS
[mono.git] / tools / offsets-tool / MonoAotOffsetsDumper.cs
index 94622793145f8d5ff85b0a5918b04cc3797ef81a..199b974559eb1b26ef3b42a5408adb544fe475ff 100644 (file)
@@ -276,7 +276,7 @@ namespace CppSharp
                 { "android-ndk=", "Path to Android NDK", v => AndroidNdkPath = v },
                 { "targetdir=", "Path to the directory containing the mono build", v =>TargetDir = v },
                 { "mono=", "include directory", v => MonoDir = v },
-                { "gen-ios", "generate iOS offsets", v => GenIOS != null },
+                { "gen-ios", "generate iOS offsets", v => GenIOS = v != null },
                 { "h|help",  "show this message and exit",  v => showHelp = v != null },
             };