mirror of
https://github.com/aaru-dps/Aaru.git
synced 2025-12-16 19:24:25 +00:00
* DiscImageChef/Main.cs:
* DiscImageChef/Commands/Verify.cs: * DiscImageChef/Commands/Formats.cs: * DiscImageChef/Commands/Analyze.cs: * DiscImageChef/Commands/Compare.cs: * DiscImageChef/Commands/Commands.cs: * DiscImageChef/Commands/Checksum.cs: * DiscImageChef/DiscImageChef.csproj: Move all commands to separate classes. * DiscImageChef/AssemblyInfo.cs: Let mono create random revision and build. * DiscImageChef/Options.cs: Make options public
This commit is contained in:
@@ -3,7 +3,7 @@ using CommandLine.Text;
|
||||
|
||||
namespace DiscImageChef
|
||||
{
|
||||
abstract class CommonSubOptions
|
||||
public abstract class CommonSubOptions
|
||||
{
|
||||
[Option('v', "verbose", DefaultValue = false, HelpText = "Shows verbose output")]
|
||||
public bool Verbose { get; set; }
|
||||
@@ -12,7 +12,7 @@ namespace DiscImageChef
|
||||
public bool Debug { get; set; }
|
||||
}
|
||||
|
||||
class AnalyzeSubOptions : CommonSubOptions
|
||||
public class AnalyzeSubOptions : CommonSubOptions
|
||||
{
|
||||
[Option('p', "partitions", DefaultValue = true,
|
||||
HelpText = "Searches and interprets partitions.")]
|
||||
@@ -26,7 +26,7 @@ namespace DiscImageChef
|
||||
public string InputFile { get; set; }
|
||||
}
|
||||
|
||||
class CompareSubOptions : CommonSubOptions
|
||||
public class CompareSubOptions : CommonSubOptions
|
||||
{
|
||||
[Option("input1", Required = true, HelpText = "First disc image.")]
|
||||
public string InputFile1 { get; set; }
|
||||
@@ -35,7 +35,7 @@ namespace DiscImageChef
|
||||
public string InputFile2 { get; set; }
|
||||
}
|
||||
|
||||
class ChecksumSubOptions : CommonSubOptions
|
||||
public class ChecksumSubOptions : CommonSubOptions
|
||||
{
|
||||
[Option('t', "separated-tracks", DefaultValue = true,
|
||||
HelpText = "Checksums each track separately.")]
|
||||
@@ -65,7 +65,7 @@ namespace DiscImageChef
|
||||
public string InputFile { get; set; }
|
||||
}
|
||||
|
||||
class VerifySubOptions : CommonSubOptions
|
||||
public class VerifySubOptions : CommonSubOptions
|
||||
{
|
||||
[Option('w', "verify-disc", DefaultValue = true,
|
||||
HelpText = "Verify disc image if supported.")]
|
||||
@@ -79,11 +79,11 @@ namespace DiscImageChef
|
||||
public string InputFile { get; set; }
|
||||
}
|
||||
|
||||
class FormatsSubOptions
|
||||
public class FormatsSubOptions
|
||||
{
|
||||
}
|
||||
|
||||
class Options
|
||||
public class Options
|
||||
{
|
||||
public Options()
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user