mirror of
https://github.com/aaru-dps/Aaru.git
synced 2025-12-16 19:24:25 +00:00
Fix non static commands.
This commit is contained in:
@@ -50,7 +50,7 @@ namespace DiscImageChef.Commands
|
||||
_gdprChange = gdprChange;
|
||||
_autoCall = autoCall;
|
||||
|
||||
Handler = CommandHandler.Create(GetType().GetMethod(nameof(Invoke)));
|
||||
Handler = CommandHandler.Create<bool, bool>(Invoke);
|
||||
}
|
||||
|
||||
public int Invoke(bool debug, bool verbose)
|
||||
|
||||
@@ -46,7 +46,7 @@ namespace DiscImageChef.Commands
|
||||
{
|
||||
_masterDbUpdate = masterDbUpdate;
|
||||
|
||||
Handler = CommandHandler.Create(GetType().GetMethod(nameof(Invoke)));
|
||||
Handler = CommandHandler.Create<bool, bool>(Invoke);
|
||||
}
|
||||
|
||||
public int Invoke(bool debug, bool verbose)
|
||||
|
||||
Reference in New Issue
Block a user