diff --git a/src/command_ui.cc b/src/command_ui.cc index a40a4100..54a121d7 100644 --- a/src/command_ui.cc +++ b/src/command_ui.cc @@ -636,10 +636,10 @@ initialize_command_ui() { CMD2_ANY_VALUE("convert.throttle", std::bind(&apply_to_throttle, std::placeholders::_2)); CMD2_ANY_LIST("math.add", std::bind(&apply_math_basic, std::plus(), std::placeholders::_2)); - CMD2_ANY_LIST("math.subtract", std::bind(&apply_math_basic, std::minus(), std::placeholders::_2)); - CMD2_ANY_LIST("math.multiply", std::bind(&apply_math_basic, std::multiplies(), std::placeholders::_2)); - CMD2_ANY_LIST("math.divide", std::bind(&apply_math_basic, std::divides(), std::placeholders::_2)); - CMD2_ANY_LIST("math.modulo", std::bind(&apply_math_basic, std::modulus(), std::placeholders::_2)); + CMD2_ANY_LIST("math.sub", std::bind(&apply_math_basic, std::minus(), std::placeholders::_2)); + CMD2_ANY_LIST("math.mul", std::bind(&apply_math_basic, std::multiplies(), std::placeholders::_2)); + CMD2_ANY_LIST("math.div", std::bind(&apply_math_basic, std::divides(), std::placeholders::_2)); + CMD2_ANY_LIST("math.mod", std::bind(&apply_math_basic, std::modulus(), std::placeholders::_2)); CMD2_ANY_LIST("math.min", std::bind(&apply_arith_basic, std::less(), std::placeholders::_2)); CMD2_ANY_LIST("math.max", std::bind(&apply_arith_basic, std::greater(), std::placeholders::_2));