" (this option should be run as root)\n"
"\n"
"Options:\n"
- " --ibc-dir - Specify a directory containing IBC files\n"
+ " --mibc - Specify Mibc files. Sepatated with ':'.\n"
" --verbose - Display verbose information\n"
" --inputbubble - Use inputbubble\n"
" --inputbubbleref - Path of references for inputbubble (used with --inputbubble option)\n"
" # dotnettool --ni-pkg org.tizen.FormsGallery\n"
"4. Regenerate native images for all installed .net packages\n"
" # dotnettool --ni-regen-all-app\n"
- "5. Create native image for dll based on the IBC data\n"
- " # dotnettool --ibc-dir /tmp/ibcdata/ --ni-dll /usr/bin/Tizen.Runtime.dll\n"
+ "5. Create native image for dll based on the Mibc data\n"
+ " # dotnettool --mibc /tmp/ibcdata/in.mibc --ni-dll /usr/bin/Tizen.Runtime.dll\n"
"6. Remove profile for package\n"
" # dotnettool --rm-app-profile org.tizen.FormsGallery\n"
"\n");
opt->flags |= NI_FLAGS_PRINT_CMD;
} else if (arg == "--skip-ro-app") {
opt->flags |= NI_FLAGS_SKIP_RO_APP;
- } else if (arg == "--ibc-dir") {
+ } else if (arg == "--mibc") {
++i;
if (i >= argc) {
- _SOUT("Directory path containing IBC files should be followed for --ibc-dir option");
+ _SOUT("File path containing Mibc files should be followed for --mibc option");
DisplayUsage();
return 0;
}
std::vector<std::string> paths;
splitPath(std::string(argv[i]), paths);
for (const auto &path : paths) {
- if (!isDirectory(path)) {
- _SERR("mibc path is missing or not exist");
+ if (!isFile(path) || isDirectory(path)) {
+ _SERR("Mibc file path is missing or does not exist");
return -1;
}
opt->mibcPath.push_back(path);