Home | History | Annotate | Download | only in jhead

Lines Matching refs:arg

1399     char * arg;
1403 arg = argv[argn];
1404 if (arg[0] != '-') break; // Filenames from here on.
1407 if (!strcmp(arg,"-te")){
1410 }else if (!strcmp(arg,"-dc")){
1413 }else if (!strcmp(arg,"-de")){
1416 }else if (!strcmp(arg,"-di")){
1419 }else if (!strcmp(arg,"-dx")){
1422 }else if (!strcmp(arg, "-du")){
1425 }else if (!strcmp(arg, "-purejpg")){
1432 }else if (!strcmp(arg,"-ce")){
1435 }else if (!strcmp(arg,"-cs")){
1437 }else if (!strcmp(arg,"-ci")){
1440 }else if (!strcmp(arg,"-cl")){
1443 }else if (!strcmp(arg,"-mkexif")){
1448 }else if (!strcmp(arg,"-h")){
1450 }else if (!strcmp(arg,"-v")){
1452 }else if (!strcmp(arg,"-q")){
1454 }else if (!strcmp(arg,"-V")){
1457 }else if (!strcmp(arg,"-exifmap")){
1459 }else if (!strcmp(arg,"-se")){
1461 }else if (!strcmp(arg,"-c")){
1463 }else if (!strcmp(arg,"-nofinfo")){
1467 }else if (!strcmp(arg,"-dt")){
1470 }else if (!strcmp(arg,"-st")){
1473 }else if (!strcmp(arg,"-rt")){
1476 }else if (!memcmp(arg,"-rgt", 4)){
1478 sscanf(arg+4, "%d", &RegenThumbnail);
1485 }else if (!strcmp(arg,"-autorot")){
1488 }else if (!strcmp(arg,"-norot")){
1494 }else if (!memcmp(arg,"-n",2)){
1497 arg+=2;
1498 if (*arg == 'f'){
1500 arg++;
1502 if (*arg){
1504 strftime_args = arg;
1508 //printf("strftime_args = %s\n",arg);
1510 }else if (!strcmp(arg,"-a")){
1516 }else if (!strcmp(arg,"-ft")){
1519 }else if (!memcmp(arg,"-ta",3)){
1523 if (arg[3] != '-' && arg[3] != '+'){
1526 n = sscanf(arg+4, "%d:%d:%d", &hours, &minutes, &seconds);
1533 if (arg[3] == '-') ExifTimeAdjust = -ExifTimeAdjust;
1535 }else if (!memcmp(arg,"-da",3)){
1539 NewDate = ParseCmdDate(arg+3);
1540 pOldDate = strstr(arg+1, "-");
1549 }else if (!memcmp(arg,"-dsft",5)){
1553 }else if (!memcmp(arg,"-ds",3)){
1558 for (a=0;arg[a+3];a++){
1560 if (!isdigit(arg[a+3])){
1565 if (arg[a+3] != ':'){
1570 DateSet[a] = arg[a+3];
1577 }else if (!memcmp(arg,"-ts",3)){
1583 c = strstr(arg+1, "-");
1586 if (!Exif2tm(&tm, arg+3)){
1597 }else if (!strcmp(arg,"-model")){
1600 }else if (!strcmp(arg,"-exonly")){
1602 }else if (!strcmp(arg,"-orp")){
1604 }else if (!strcmp(arg,"-orl")){
1606 }else if (!strcmp(arg,"-cmd")){
1612 }else if (!strcmp(arg,"-ca")){
1616 }else if (!strcmp(arg,"-cr")){
1620 }else if (!strcmp(arg,"-ar")){
1627 printf("Argument '%s' not understood\n",arg);