@@ -1324,13 +1324,13 @@ int main_vcfgtcheck(int argc, char *argv[])
1324
1324
if ( !strncasecmp ("gt:" ,optarg ,3 ) )
1325
1325
{
1326
1326
if ( args -> gt_filter_str ) error ("Error: only one -i or -e expression can be given for gt:, and they cannot be combined\n" );
1327
- args -> gt_filter_str = optarg ;
1327
+ args -> gt_filter_str = optarg + 3 ;
1328
1328
args -> gt_filter_logic |= FLT_EXCLUDE ;
1329
1329
}
1330
1330
else if ( !strncasecmp ("qry:" ,optarg ,4 ) )
1331
1331
{
1332
1332
if ( args -> qry_filter_str ) error ("Error: only one -i or -e expression can be given for qry:, and they cannot be combined\n" );
1333
- args -> qry_filter_str = optarg ;
1333
+ args -> qry_filter_str = optarg + 4 ;
1334
1334
args -> qry_filter_logic |= FLT_EXCLUDE ;
1335
1335
}
1336
1336
else
@@ -1355,13 +1355,13 @@ int main_vcfgtcheck(int argc, char *argv[])
1355
1355
if ( !strncasecmp ("gt:" ,optarg ,3 ) )
1356
1356
{
1357
1357
if ( args -> gt_filter_str ) error ("Error: only one -i or -e expression can be given for gt:, and they cannot be combined\n" );
1358
- args -> gt_filter_str = optarg ;
1358
+ args -> gt_filter_str = optarg + 3 ;
1359
1359
args -> gt_filter_logic |= FLT_INCLUDE ;
1360
1360
}
1361
1361
else if ( !strncasecmp ("qry:" ,optarg ,4 ) )
1362
1362
{
1363
1363
if ( args -> qry_filter_str ) error ("Error: only one -i or -e expression can be given for qry:, and they cannot be combined\n" );
1364
- args -> qry_filter_str = optarg ;
1364
+ args -> qry_filter_str = optarg + 4 ;
1365
1365
args -> qry_filter_logic |= FLT_INCLUDE ;
1366
1366
}
1367
1367
else
0 commit comments