help中添加参数类型
This commit is contained in:
@@ -162,6 +162,15 @@ namespace ling {
|
|||||||
else
|
else
|
||||||
temp << std::left << std::setw(25) << in.options[0];
|
temp << std::left << std::setw(25) << in.options[0];
|
||||||
}
|
}
|
||||||
|
if (in.type == STRING) {
|
||||||
|
temp << std::left << std::setw(15) << "[String]";
|
||||||
|
} else if (in.type == INT) {
|
||||||
|
temp << std::left << std::setw(15) << "[Int]";
|
||||||
|
} else if (in.type == DOUBLE) {
|
||||||
|
temp << std::left << std::setw(15) << "[Double]";
|
||||||
|
} else {
|
||||||
|
temp << std::left << std::setw(15) << "";
|
||||||
|
}
|
||||||
temp << std::left << std::setw(55) << in.memage;
|
temp << std::left << std::setw(55) << in.memage;
|
||||||
stream << temp.str() << std::endl;
|
stream << temp.str() << std::endl;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user