Add device type shorthand 't' for Tape, and change printer to 'p'

The scsictl command parser looks for single letter shorthands for each device type;
this adds 't' for SCTP and changes SCLP to 'p'

Now you can do '-t tape' and '-t printer' for an easy to remember command

Also moves the SCTP default product/vendor into the device factory,
updates the unit tests, and an overhauls the man pages
This commit is contained in:
Daniel Markstedt
2025-11-08 22:52:06 +01:00
parent 7f57c9e28d
commit 567dca9cc3
8 changed files with 66 additions and 24 deletions
-2
View File
@@ -79,8 +79,6 @@ SCSIST::SCSIST(int lun)
SetRemovable(true);
SetLockable(true);
SupportsSaveParameters(true);
SetVendor("TANDBERG"); // Masquerade as Tandberg
SetProduct(" TDC Streamer");
}
bool SCSIST::Init(const param_map &pm)