Implement "decode" verb.

This commit is contained in:
2014-09-01 03:44:39 +01:00
parent f5d6da003e
commit aadd192a67
4 changed files with 116 additions and 0 deletions

View File

@@ -111,6 +111,12 @@ namespace DiscImageChef
isVerbose = PrintHexOptions.Verbose;
Commands.PrintHex.doPrintHex(PrintHexOptions);
break;
case "decode":
DecodeSubOptions DecodeOptions = (DecodeSubOptions)invokedVerbInstance;
isDebug = DecodeOptions.Debug;
isVerbose = DecodeOptions.Verbose;
Commands.Decode.doDecode(DecodeOptions);
break;
case "formats":
FormatsSubOptions FormatsOptions = (FormatsSubOptions)invokedVerbInstance;
isVerbose = FormatsOptions.Verbose;