From a408953eebb0dc65441e9ec4becbc8e2dba6c0e8 Mon Sep 17 00:00:00 2001 From: David Oberhollenzer Date: Wed, 21 Aug 2019 15:54:35 +0200 Subject: Update sqfsdiff documentation Signed-off-by: David Oberhollenzer --- difftool/options.c | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) (limited to 'difftool/options.c') diff --git a/difftool/options.c b/difftool/options.c index c0c1ca6..82b6ddc 100644 --- a/difftool/options.c +++ b/difftool/options.c @@ -29,6 +29,10 @@ static const char *usagestr = "images, this actually parses the filesystems and generates a more\n" "meaningful difference report.\n" "\n" +"The tool can also compare the contents of a squashfs image to a directory.\n" +"This case is detected transparently if --new or --old referes to a directory\n" +"instead of a squashfs image.\n" +"\n" "If only contents are compared, any differences in packed file layout,\n" "ordering, compression, inode allocation and so on is ignored and the two\n" "images are considered equal if each directory contains the same entries,\n" @@ -40,8 +44,8 @@ static const char *usagestr = "\n" "Possible options:\n" "\n" -" --old, -a The first of the two images to compare.\n" -" --new, -b The second of the two images to compare.\n" +" --old, -a The first of the two filesystems to compare.\n" +" --new, -b The second of the two filesystems to compare.\n" "\n" " --no-contents, -C Do not compare file contents.\n" " --no-owner, -O Do not compare file owners.\n" -- cgit v1.2.3