Implement the discovery -v command line interface

Call the previously implemented get_rdcd_version and rdc_get_smiversion

Change-Id: If76037d462fa9328c3af8c85423ee4547882e36e
Signed-off-by: Chen Gong <curry.gong@amd.com>


[ROCm/rdc commit: 0cfca6d93d]
This commit is contained in:
Chen Gong
2024-08-25 10:01:54 +08:00
committed by Galantsev, Dmitrii
parent cd98bb7f90
commit dc905e20ff
2 changed files with 46 additions and 6 deletions
@@ -38,6 +38,8 @@ class RdciDiscoverySubSystem : public RdciSubSystem {
void show_help() const;
bool is_list_;
void show_attributes();
bool show_version_;
void show_version();
};
} // namespace rdc