mirror of
https://github.com/aaru-dps/Aaru.git
synced 2025-12-16 19:24:25 +00:00
General refactor.
This commit is contained in:
@@ -230,12 +230,10 @@ namespace DiscImageChef.Commands
|
||||
|
||||
if(options.SectorTags)
|
||||
{
|
||||
ulong length;
|
||||
|
||||
if(options.Length.ToLowerInvariant() == "all") length = inputFormat.Info.Sectors - 1;
|
||||
if(options.Length.ToLowerInvariant() == "all") { }
|
||||
else
|
||||
{
|
||||
if(!ulong.TryParse(options.Length, out length))
|
||||
if(!ulong.TryParse(options.Length, out ulong _))
|
||||
{
|
||||
DicConsole.WriteLine("Value \"{0}\" is not a valid number for length.", options.Length);
|
||||
DicConsole.WriteLine("Not decoding sectors tags");
|
||||
|
||||
Reference in New Issue
Block a user