Skip to content

Commit 74ecbcb

Browse files
committed
Fix the short options list, by removing the non-existent -1,
and the help message, by adding the `-g` required type.
1 parent f974d2e commit 74ecbcb

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

stats.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1963,7 +1963,7 @@ static void error(const char *format, ...)
19631963
printf(" -t, --target-regions <file> Do stats in these regions only. Tab-delimited file chr,from,to, 1-based, inclusive.\n");
19641964
printf(" -x, --sparse Suppress outputting IS rows where there are no insertions.\n");
19651965
printf(" -p, --remove-overlaps Remove overlaps of paired-end reads from coverage and base count computations.\n");
1966-
printf(" -g, --cov-threshold Only bases with coverage above this value will be included in the target percentage computation [0]\n");
1966+
printf(" -g, --cov-threshold <int> Only bases with coverage above this value will be included in the target percentage computation [0]\n");
19671967
sam_global_opt_help(stdout, "-.--.@");
19681968
printf("\n");
19691969
}
@@ -2235,7 +2235,7 @@ int main_stats(int argc, char *argv[])
22352235
};
22362236
int opt;
22372237

2238-
while ( (opt=getopt_long(argc,argv,"?hdsxpr:c:l:i:t:m:q:f:F:g:I:1:S:P:@:",loptions,NULL))>0 )
2238+
while ( (opt=getopt_long(argc,argv,"?hdsxpr:c:l:i:t:m:q:f:F:g:I:S:P:@:",loptions,NULL))>0 )
22392239
{
22402240
switch (opt)
22412241
{

0 commit comments

Comments
 (0)