mirror of
https://github.com/aaru-dps/Aaru.git
synced 2025-12-16 19:24:25 +00:00
Rename commands and add aliases.
This commit is contained in:
@@ -51,6 +51,8 @@ namespace DiscImageChef.Commands.Image
|
||||
|
||||
public ChecksumCommand() : base("checksum", "Checksums an image.")
|
||||
{
|
||||
AddAlias("chk");
|
||||
|
||||
Add(new Option(new[]
|
||||
{
|
||||
"--adler32", "-a"
|
||||
|
||||
@@ -49,6 +49,8 @@ namespace DiscImageChef.Commands.Image
|
||||
{
|
||||
public CompareCommand() : base("compare", "Compares two disc images.")
|
||||
{
|
||||
AddAlias("cmp");
|
||||
|
||||
AddArgument(new Argument<string>
|
||||
{
|
||||
Arity = ArgumentArity.ExactlyOne, Description = "First media image path", Name = "image-path1"
|
||||
|
||||
@@ -52,7 +52,7 @@ namespace DiscImageChef.Commands.Image
|
||||
{
|
||||
internal class ConvertImageCommand : Command
|
||||
{
|
||||
public ConvertImageCommand() : base("convert-image", "Converts one image to another format.")
|
||||
public ConvertImageCommand() : base("convert", "Converts one image to another format.")
|
||||
{
|
||||
Add(new Option(new[]
|
||||
{
|
||||
@@ -43,7 +43,7 @@ namespace DiscImageChef.Commands.Image
|
||||
{
|
||||
internal class ImageInfoCommand : Command
|
||||
{
|
||||
public ImageInfoCommand() : base("image-info",
|
||||
public ImageInfoCommand() : base("info",
|
||||
"Opens a media image and shows information about the media it represents and metadata.")
|
||||
{
|
||||
AddArgument(new Argument<string>
|
||||
@@ -42,7 +42,7 @@ namespace DiscImageChef.Commands.Image
|
||||
{
|
||||
internal class PrintHexCommand : Command
|
||||
{
|
||||
public PrintHexCommand() : base("printhex", "Prints a sector, in hexadecimal values, to the console.")
|
||||
public PrintHexCommand() : base("print", "Prints a sector, in hexadecimal values, to the console.")
|
||||
{
|
||||
Add(new Option(new[]
|
||||
{
|
||||
Reference in New Issue
Block a user