Skip to content

Commit bc86410

Browse files
committed
main: list_boards now displays fpga_part too
1 parent 6a1e0ff commit bc86410

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

src/main.cpp

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1157,12 +1157,14 @@ void displaySupported(const struct arguments &args)
11571157

11581158
if (args.list_boards) {
11591159
stringstream t;
1160-
t << setw(25) << left << "board name" << "cable_name";
1160+
t << setw(26) << left << "board name" << setw(19) << "cable_name";
1161+
t << setw(25) << "fpga_part";
11611162
printSuccess(t.str());
11621163
for (auto b = board_list.begin(); b != board_list.end(); b++) {
11631164
stringstream ss;
11641165
target_board_t c = (*b).second;
1165-
ss << setw(25) << left << (*b).first << c.cable_name;
1166+
ss << setw(26) << left << (*b).first << setw(19) << c.cable_name;
1167+
ss << setw(25)<< c.fpga_part;
11661168
printInfo(ss.str());
11671169
}
11681170
cout << endl;

0 commit comments

Comments
 (0)