Implement "printhex" verb to print a/several sector(s) as

hexadecimal values on console.
This commit is contained in:
2014-08-28 19:27:16 +01:00
parent 3229808c73
commit 7b15a709bd
4 changed files with 130 additions and 0 deletions

View File

@@ -105,6 +105,12 @@ namespace DiscImageChef
isVerbose = VerifyOptions.Verbose;
Commands.Verify.doVerify(VerifyOptions);
break;
case "printhex":
PrintHexSubOptions PrintHexOptions = (PrintHexSubOptions)invokedVerbInstance;
isDebug = PrintHexOptions.Debug;
isVerbose = PrintHexOptions.Verbose;
Commands.PrintHex.doPrintHex(PrintHexOptions);
break;
case "formats":
FormatsSubOptions FormatsOptions = (FormatsSubOptions)invokedVerbInstance;
isVerbose = FormatsOptions.Verbose;