projects
/
platform
/
core
/
dotnet
/
launcher.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Code cleanup (#251)
[platform/core/dotnet/launcher.git]
/
NativeLauncher
/
tool
/
nitool.cc
diff --git
a/NativeLauncher/tool/nitool.cc
b/NativeLauncher/tool/nitool.cc
index
841be72
..
29b6b78
100644
(file)
--- a/
NativeLauncher/tool/nitool.cc
+++ b/
NativeLauncher/tool/nitool.cc
@@
-33,6
+33,11
@@
std::vector<std::string> getCmdArgs(char** begin, char** end)
return list;
}
+static bool cmdOptionExists(char** begin, char** end, const std::string& option)
+{
+ return std::find(begin, end, option) != end;
+}
+
static void help(const char *argv0)
{
const char* helpDesc =