From: Woongsuk Cho Date: Wed, 6 Mar 2019 04:05:52 +0000 (+0900) Subject: Enable r2r/fnv selection for -regen-all-app option. X-Git-Tag: submit/tizen/20190402.104048 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=refs%2Ftags%2Fsubmit%2Ftizen%2F20190402.104048;p=platform%2Fcore%2Fdotnet%2Flauncher.git Enable r2r/fnv selection for -regen-all-app option. Previous implemenataion supports r2r mode only for --regen-all-app. For convinence of development enable --r2r option for --regen-all-app. ex) nitool --r2r --rege-all-app --- diff --git a/NativeLauncher/installer-plugin/nitool.cc b/NativeLauncher/installer-plugin/nitool.cc index 5339bae..afae251 100644 --- a/NativeLauncher/installer-plugin/nitool.cc +++ b/NativeLauncher/installer-plugin/nitool.cc @@ -41,24 +41,27 @@ static void help(const char *argv0) { const char* helpDesc = "Usage: %s [args] \n" - " --help - Display this screen\n" - " --system - Create NI under System DLLs\n" - " --dll - Create NI for DLL\n" - " --pkg - Create NI for package\n" - " --dir - Create NI for directory\n" - " --r2r - Use ready-to-run option (default: FNV)\n" - " --reset-system - Remove System NI files\n" - " --reset-pkg - Remove App NI files\n" - " --regen-all-app - Re-generate All App NI files\n" + " --help - Display this screen\n" + " --system - Create NI under System DLLs\n" + " --dll - Create NI for DLL\n" + " --pkg - Create NI for package\n" + " --dir - Create NI for directory\n" + " --r2r - Use ready-to-run option (default: FNV)\n" + " (This option should be used with other options)\n" + " --reset-system - Remove System NI files\n" + " --reset-pkg - Remove App NI files\n" + " --regen-all-app - Re-generate All App NI files\n" "\n" "Example:\n" - "Create native image for dlls and exes under platform directories\n" - "%s --system\n" - "Create native image for dll\n" - "%s --dll /usr/bin/Tizen.Runtime.dll\n" - "Create native image under the package's bin and lib directory\n" - "%s --pkg org.tizen.FormsGallery\n\n"; - printf(helpDesc, argv0, argv0, argv0, argv0); + "1. Create native image for dlls and exes under platform directories\n" + " # %s --system\n" + "2. Create native image for dll\n" + " # %s --dll /usr/bin/Tizen.Runtime.dll\n" + "3. Create native image under the package's bin and lib directory\n" + " # %s --pkg org.tizen.FormsGallery\n" + "4. Regenerate native images for all installed .net packages with ready-to-run option\n" + " # %s --r2r --regen-all-app\n\n"; + printf(helpDesc, argv0, argv0, argv0, argv0, argv0); } int main(int argc, char* argv[])