forked from tTh/FloatImg
bla
This commit is contained in:
@@ -66,8 +66,8 @@ static void help(int lj)
|
||||
puts("usage:\n\tfimgops [options] A.fimg B.fimg operator D.fimg");
|
||||
puts("options:");
|
||||
// puts("\t-g convert output to gray");
|
||||
puts("\t-k N.N set float value");
|
||||
puts("\t-v increase verbosity");
|
||||
printf("\t-k N.N\t\tset float value (def=%.3f)\n", global_fvalue);
|
||||
puts("\t-v\t\tincrease verbosity");
|
||||
pr_opcodes();
|
||||
if (verbosity) fimg_print_version(1);
|
||||
exit(0);
|
||||
@@ -107,9 +107,10 @@ int main(int argc, char *argv[])
|
||||
{
|
||||
int foo, opt, action;
|
||||
char *operator;
|
||||
|
||||
FloatImg srcA, srcB, dest;
|
||||
|
||||
global_fvalue = 0.5;
|
||||
|
||||
while ((opt = getopt(argc, argv, "hk:v")) != -1) {
|
||||
switch(opt) {
|
||||
case 'g': break;
|
||||
|
||||
Reference in New Issue
Block a user