fix typos caught by lintian.
authorÉtienne Mollier <emollier@debian.org>
Fri, 23 Jun 2023 18:10:54 +0000 (20:10 +0200)
committerÉtienne Mollier <emollier@debian.org>
Fri, 23 Jun 2023 18:10:54 +0000 (20:10 +0200)
Forwarded: https://github.com/pysam-developers/pysam/pull/1198
Last-Update: 2023-06-23

Last-Update: 2023-06-23
Gbp-Pq: Name typos.patch

samtools/bam_ampliconclip.c
samtools/bam_ampliconclip.c.pysam.c
samtools/bamshuf.c
samtools/bamshuf.c.pysam.c

index 91fc85888bb7e3a3714712312a18bb10ec1c6445..43109121a9b6c6902bff231b1fcff16d1c7d88ce 100644 (file)
@@ -1014,7 +1014,7 @@ int amplicon_clip_main(int argc, char **argv) {
 
     if (param.tol < 0) {
         fprintf(stderr, "[ampliconclip] warning: invalid tolerance of %d,"
-                        " reseting tolerance to default of 5.\n", param.tol);
+                        " resetting tolerance to default of 5.\n", param.tol);
         param.tol = 5;
     }
 
index 4eb9c5a4dd7169e306b3a7d56a237e40d1770a66..178c57f66b339d4ff1b1b81bad720c964236f446 100644 (file)
@@ -1016,7 +1016,7 @@ int amplicon_clip_main(int argc, char **argv) {
 
     if (param.tol < 0) {
         fprintf(samtools_stderr, "[ampliconclip] warning: invalid tolerance of %d,"
-                        " reseting tolerance to default of 5.\n", param.tol);
+                        " resetting tolerance to default of 5.\n", param.tol);
         param.tol = 5;
     }
 
index 05442bf6db4a73383bd2dd81482a4cbd30323a26..c297c5d35c5065000f98d6fab5f36115feaabe32 100644 (file)
@@ -537,7 +537,7 @@ static int usage(FILE *fp, int n_files, int reads_store) {
             "      -l INT   Compression level [%d]\n" // DEF_CLEVEL
             "      -n INT   Number of temporary files [%d]\n" // n_files
             "      -T PREFIX\n"
-            "               Write tempory files to PREFIX.nnnn.bam\n"
+            "               Write temporary files to PREFIX.nnnn.bam\n"
             "      --no-PG  do not add a PG line\n",
             reads_store, DEF_CLEVEL, n_files);
 
index 6547b3ca9c7c15439f7b65798d77df613f624b25..e98bc8bb39c8bdeeeb80e821a58fea558b261a17 100644 (file)
@@ -539,7 +539,7 @@ static int usage(FILE *fp, int n_files, int reads_store) {
             "      -l INT   Compression level [%d]\n" // DEF_CLEVEL
             "      -n INT   Number of temporary files [%d]\n" // n_files
             "      -T PREFIX\n"
-            "               Write tempory files to PREFIX.nnnn.bam\n"
+            "               Write temporary files to PREFIX.nnnn.bam\n"
             "      --no-PG  do not add a PG line\n",
             reads_store, DEF_CLEVEL, n_files);