]> mj.ucw.cz Git - libucw.git/commitdiff
fixed long option for computation of base64 signatures
authorPavel Charvat <pavel.charvat@netcentrum.cz>
Tue, 12 Dec 2006 10:23:56 +0000 (11:23 +0100)
committerPavel Charvat <pavel.charvat@netcentrum.cz>
Tue, 12 Dec 2006 10:23:56 +0000 (11:23 +0100)
images/image-sim-test.c

index 28fe9c44294b483ec93c8f1a24d97e0b04c04ade..211227d2c8ba75732c6f0b8b8f62f5495bd4426a 100644 (file)
@@ -35,7 +35,7 @@ Usage: image-sim-test [options] image1 [image2] \n\
 -g --background      background color (hexadecimal RRGGBB)\n\
 -r --segmentation-1  writes image1 segmentation to given file\n\
 -R --segmentation-2  writes image2 segmentation to given file\n\
--6 --encoded         display base64 encoded signature\n\
+-6 --base64          display base64 encoded signature\n\
 ", stderr);
   exit(1);
 }
@@ -50,6 +50,7 @@ static struct option longopts[] =
   { "background",      0, 0, 'g' },
   { "segmentation-1",  0, 0, 'r' },
   { "segmentation-2",  0, 0, 'R' },
+  { "base64",          0, 0, '6' },
   { NULL,              0, 0, 0 }
 };