Skip to content

Commit

Permalink
CR-1217061 revert (#8540)
Browse files Browse the repository at this point in the history
Signed-off-by: Akshay Tondak <[email protected]>
Co-authored-by: Akshay Tondak <[email protected]>
(cherry picked from commit 56d452c)
  • Loading branch information
aktondak authored and AShivangi committed Oct 23, 2024
1 parent b8252ca commit 6ef8a30
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 3 deletions.
3 changes: 1 addition & 2 deletions src/runtime_src/core/tools/xbutil2/SubCmdAdvanced.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,6 @@ SubCmdAdvanced::SubCmdAdvanced(bool _isHidden, bool _isDepricated, bool _isPreli
setIsPreliminary(_isPreliminary);

m_commonOptions.add_options()
("device,d", boost::program_options::value<decltype(m_device)>(&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")
;

Expand Down Expand Up @@ -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;
}

Expand Down
1 change: 0 additions & 1 deletion src/runtime_src/core/tools/xbutil2/SubCmdAdvanced.h
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,6 @@ class SubCmdAdvanced : public SubCmd {

private:
bool m_help;
std::string m_device;
};

#endif
Expand Down

0 comments on commit 6ef8a30

Please sign in to comment.