We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 30267f2 + 9222b97 commit a89820dCopy full SHA for a89820d
mlxlink/modules/mlxlink_commander.cpp
@@ -1938,14 +1938,15 @@ void MlxlinkCommander::showPcieLinks()
1938
throw MlxRegException("No valid DPN's detected!");
1939
}
1940
setPrintTitle(_validPcieLinks,"Valid PCIe Links", _validDpns.size()+1);
1941
- setPrintVal(_validPcieLinks, 0," ", "depth, pcie_index, node, port");
+ setPrintVal(_validPcieLinks, 0, "Legend",
1942
+ "depth, pcie_index, node, port", ANSI_COLOR_RESET, true, true, true);
1943
for(u_int32_t i = 0; i < _validDpns.size(); i++) {
1944
char dpnStr [20];
1945
int localPort = getLocalPortFromMPIR(_validDpns[i]);
1946
sprintf(dpnStr,"%d, %d, %d, %d", _validDpns[i].depth,
1947
_validDpns[i].pcieIndex, _validDpns[i].node, localPort);
1948
setPrintVal(_validPcieLinks, i+1, "Link " + to_string(i+1), dpnStr,
- ANSI_COLOR_RESET, localPort >= 0 );
1949
+ ANSI_COLOR_RESET, localPort >= 0, true, true);
1950
1951
cout << _validPcieLinks;
1952
} catch (const std::exception &exc) {
0 commit comments