mirror of
https://github.com/akuker/RASCSI.git
synced 2025-01-11 09:29:53 +00:00
Updated rasctl server info message
This commit is contained in:
parent
91fd46b65e
commit
5b9df8c1d5
@ -315,7 +315,11 @@ void CommandServerInfo(const string& hostname, int port)
|
|||||||
if (device.block_size()) {
|
if (device.block_size()) {
|
||||||
cout << " " << device.block_size() << " BPS";
|
cout << " " << device.block_size() << " BPS";
|
||||||
}
|
}
|
||||||
cout << (device.file().name().empty() ? "" : " " + device.file().name()) << endl;
|
cout << (device.file().name().empty() ? "" : " " + device.file().name());
|
||||||
|
if (device.properties().read_only() || device.status().protected_()) {
|
||||||
|
cout << " read-only";
|
||||||
|
}
|
||||||
|
cout <<endl;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user