Change --no-metadata to --metadata and --no-trim to --trim.

This commit is contained in:
2020-01-04 02:28:17 +00:00
parent 9eec967646
commit 951aa79cce
11 changed files with 32 additions and 34 deletions

View File

@@ -419,7 +419,7 @@ namespace DiscImageChef.Core.Devices.Dumping
#region Trimming
if(_resume.BadBlocks.Count > 0 &&
!_aborted &&
!_notrim &&
_trim &&
newTrim)
{
start = DateTime.UtcNow;
@@ -651,7 +651,7 @@ namespace DiscImageChef.Core.Devices.Dumping
double totalChkDuration = 0;
if(!_nometadata)
if(_metadata)
{
WriteOpticalSidecar(BLOCK_SIZE, blocks, DSK_TYPE, null, null, 1, out totalChkDuration);
}
@@ -879,7 +879,7 @@ namespace DiscImageChef.Core.Devices.Dumping
#region Trimming
if(_resume.BadBlocks.Count > 0 &&
!_aborted &&
!_notrim &&
_trim &&
newTrim)
{
start = DateTime.UtcNow;
@@ -1117,7 +1117,7 @@ namespace DiscImageChef.Core.Devices.Dumping
double totalChkDuration = 0;
if(!_nometadata)
if(_metadata)
{
UpdateStatus?.Invoke("Creating sidecar.");
_dumpLog.WriteLine("Creating sidecar.");