Commit a8e1e428 authored by Simon Spannagel's avatar Simon Spannagel
Browse files

Roles: allow "ref" as shorthand for "reference"

parent 60021624
......@@ -29,7 +29,7 @@ Detector::Detector(const Configuration& config) : m_role(DetectorRole::NONE) {
std::transform(role.begin(), role.end(), role.begin(), ::tolower);
if(role == "none") {
m_role |= DetectorRole::NONE;
} else if(role == "reference") {
} else if(role == "reference" || role == "ref") {
m_role |= DetectorRole::REFERENCE;
} else if(role == "dut") {
m_role |= DetectorRole::DUT;
......
Supports Markdown
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