mirror of
https://github.com/aaru-dps/libaaruformat.git
synced 2025-12-16 19:24:40 +00:00
Add CLI comparison command for AaruFormat images
This commit is contained in:
11
tool/usage.c
11
tool/usage.c
@@ -41,6 +41,7 @@ void usage()
|
||||
printf(" verify Verifies the integrity of blocks in an image.\n");
|
||||
printf(" verify_sectors Verifies the integrity of all sectors in an image.\n");
|
||||
printf(" compare Compares two AaruFormat images.\n");
|
||||
printf(" cli-compare Compares two AaruFormat images sector by sector (CLI mode).\n");
|
||||
printf(" convert Converts an AaruFormat image to another AaruFormat image.\n\n");
|
||||
printf("For help with any verb, run:\n");
|
||||
printf(" aaruformattool <verb> --help\n");
|
||||
@@ -112,6 +113,16 @@ void usage_compare()
|
||||
printf(" <filename2> Path to second image file.\n");
|
||||
}
|
||||
|
||||
void usage_cli_compare()
|
||||
{
|
||||
printf("\nUsage:\n");
|
||||
printf(" aaruformattool cli-compare <filename1> <filename2>\n\n");
|
||||
printf("Compares two AaruFormat images sector by sector and lists all different sectors.\n");
|
||||
printf("Arguments:\n");
|
||||
printf(" <filename1> Path to first image file.\n");
|
||||
printf(" <filename2> Path to second image file.\n");
|
||||
}
|
||||
|
||||
void usage_convert()
|
||||
{
|
||||
printf("\nUsage:\n");
|
||||
|
||||
Reference in New Issue
Block a user