Subversion Repositories tpanel

Rev

Rev 99 | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 99 Rev 104
Line 928... Line 928...
928
        start++;
928
        start++;
929
    }
929
    }
930
 
930
 
931
    return nullptr;
931
    return nullptr;
932
}
932
}
-
 
933
 
-
 
934
string getCommand(const string& fullCmd)
-
 
935
{
-
 
936
    DECL_TRACER("getCommand(const string& fullCmd)");
-
 
937
 
-
 
938
    size_t pos = fullCmd.find_first_of("-");
-
 
939
    string cmd;
-
 
940
 
-
 
941
    if (pos != string::npos)
-
 
942
        cmd = fullCmd.substr(0, pos);
-
 
943
    else
-
 
944
        cmd = fullCmd;
-
 
945
 
-
 
946
    return cmd;
-
 
947
}