Kaydet (Commit) 21eae4b2 authored tarafından Stephan Bergmann's avatar Stephan Bergmann

simplify

Change-Id: I564ef5ebf16c0ee50da69f3d8b97a5452a1cd0b8
üst ed6a2f3b
......@@ -47,14 +47,16 @@ bool Options::checkArgument(std::vector< std::string> & rArgs, char const * arg,
switch (arg[0])
{
case '@':
if ((result = (len > 1)) == true)
result = len > 1;
if (result)
{
// "@<cmdfile>"
result = Options::checkCommandFile(rArgs, &(arg[1]));
}
break;
case '-':
if ((result = (len > 1)) == true)
result = len > 1;
if (result)
{
// "-<option>"
std::string option (&(arg[0]), 2);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment