mirror of
https://github.com/akuker/RASCSI.git
synced 2024-12-23 21:29:30 +00:00
rasctl output update
This commit is contained in:
parent
0ac439f3e9
commit
999dbdf492
@ -213,7 +213,7 @@ void CommandServerInfo(const string& hostname, int port)
|
||||
}
|
||||
}
|
||||
|
||||
cout << "Device types and their properties:" << endl;
|
||||
cout << "Supported device types and their properties:" << endl;
|
||||
for (int i = 0; i < serverInfo.types_properties_size(); i++) {
|
||||
PbDeviceTypeProperties types_properties = serverInfo.types_properties(i);
|
||||
cout << " " << PbDeviceType_Name(types_properties.type());
|
||||
@ -272,10 +272,10 @@ void CommandServerInfo(const string& hostname, int port)
|
||||
}
|
||||
}
|
||||
|
||||
cout << "Available devices:" << endl;
|
||||
cout << "Attached devices:" << endl;
|
||||
const PbDevices& devices = serverInfo.devices();
|
||||
if (!devices.devices_size()) {
|
||||
cout << "No devices available" << endl;
|
||||
cout << "No devices attached" << endl;
|
||||
}
|
||||
else {
|
||||
list<PbDevice> sorted_devices;
|
||||
|
Loading…
Reference in New Issue
Block a user