Implemented "list-devices" command for Linux.

This commit is contained in:
2017-08-21 21:04:44 +01:00
parent cdc105c72f
commit 6e441ddda1
14 changed files with 345 additions and 67 deletions

View File

@@ -291,16 +291,16 @@ namespace DiscImageChef.Core
CurrentStats.Commands.Entropy++;
break;
case "extract-files":
AllStats.Commands.Entropy++;
CurrentStats.Commands.Entropy++;
AllStats.Commands.ExtractFiles++;
CurrentStats.Commands.ExtractFiles++;
break;
case "formats":
AllStats.Commands.Formats++;
CurrentStats.Commands.Formats++;
break;
case "ls":
AllStats.Commands.Formats++;
CurrentStats.Commands.Formats++;
AllStats.Commands.Ls++;
CurrentStats.Commands.Ls++;
break;
case "media-info":
AllStats.Commands.MediaInfo++;
@@ -318,6 +318,10 @@ namespace DiscImageChef.Core
AllStats.Commands.Verify++;
CurrentStats.Commands.Verify++;
break;
case "list-devices":
AllStats.Commands.ListDevices++;
CurrentStats.Commands.ListDevices++;
break;
}
}
}