class Appl: parseArgs enhanced; ebusd_send for hex command implemented.

This commit is contained in:
Roland Jax
2014-06-02 23:01:15 +02:00
parent 370cac97fb
commit 938cc31902
2 changed files with 23 additions and 4 deletions
+8
View File
@@ -118,6 +118,14 @@ bool Appl::parseArgs(int argc, char* argv[])
}
}
// check args
if (m_argNum > 0) {
for (int i = 0; i <= m_argNum; i++)
if (m_argv[m_argc - 1 - i].rfind("-", 0) != std::string::npos)
return false;
}
return true;
}