diff --git a/src/runtime_src/core/tools/xbutil2/SubCmdAdvanced.cpp b/src/runtime_src/core/tools/xbutil2/SubCmdAdvanced.cpp index c42eab062a..9c1d3b4f0d 100644 --- a/src/runtime_src/core/tools/xbutil2/SubCmdAdvanced.cpp +++ b/src/runtime_src/core/tools/xbutil2/SubCmdAdvanced.cpp @@ -45,7 +45,6 @@ SubCmdAdvanced::SubCmdAdvanced(bool _isHidden, bool _isDepricated, bool _isPreli setIsPreliminary(_isPreliminary); m_commonOptions.add_options() - ("device,d", boost::program_options::value(&m_device), "The Bus:Device.Function (e.g., 0000:d8:00.0) device of interest") ("help", boost::program_options::bool_switch(&m_help), "Help to use this sub-command") ; @@ -79,7 +78,7 @@ SubCmdAdvanced::execute(const SubCmdOptions& _options) const // No suboption print help if (!optionOption) { - printHelp(false, "", XBU::get_device_class(m_device, true)); + printHelp(); return; } diff --git a/src/runtime_src/core/tools/xbutil2/SubCmdAdvanced.h b/src/runtime_src/core/tools/xbutil2/SubCmdAdvanced.h index b34dc60a72..870454e667 100644 --- a/src/runtime_src/core/tools/xbutil2/SubCmdAdvanced.h +++ b/src/runtime_src/core/tools/xbutil2/SubCmdAdvanced.h @@ -17,7 +17,6 @@ class SubCmdAdvanced : public SubCmd { private: bool m_help; - std::string m_device; }; #endif