mirror of
https://github.com/aaru-dps/Aaru.git
synced 2025-12-16 19:24:25 +00:00
Register command statistics earlier.
This commit is contained in:
@@ -78,6 +78,7 @@ namespace DiscImageChef.Commands
|
||||
MainClass.PrintCopyright();
|
||||
if(MainClass.Debug) DicConsole.DebugWriteLineEvent += System.Console.Error.WriteLine;
|
||||
if(MainClass.Verbose) DicConsole.VerboseWriteLineEvent += System.Console.WriteLine;
|
||||
Statistics.AddCommand("verify");
|
||||
|
||||
if(extra.Count > 1)
|
||||
{
|
||||
@@ -293,8 +294,6 @@ namespace DiscImageChef.Commands
|
||||
else if((ulong)unknownLbas.Count < inputFormat.Info.Sectors) correctSectors = true;
|
||||
}
|
||||
|
||||
Statistics.AddCommand("verify");
|
||||
|
||||
switch(correctImage)
|
||||
{
|
||||
case null when correctSectors is null: return (int)ErrorNumber.NotVerificable;
|
||||
|
||||
Reference in New Issue
Block a user