mirror of
https://github.com/WerWolv/ImHex.git
synced 2026-04-01 21:17:44 -05:00
fix: --pl subcommand not working correctly anymore
This commit is contained in:
@@ -15,11 +15,17 @@ struct ImGuiContext;
|
||||
namespace hex {
|
||||
|
||||
struct SubCommand {
|
||||
enum class Type : u8 {
|
||||
Option,
|
||||
SubCommand
|
||||
};
|
||||
|
||||
std::string commandLong;
|
||||
std::string commandShort;
|
||||
|
||||
std::string commandDescription;
|
||||
std::function<void(const std::vector<std::string>&)> callback;
|
||||
Type type = Type::Option;
|
||||
};
|
||||
|
||||
struct Feature {
|
||||
|
||||
Reference in New Issue
Block a user