minimap2/0001-fix-man-command.patch
cherry530 2a7cbe3326 Upgrade version to 2.24
Signed-off-by: cherry530 <707078654@qq.com>
2023-09-18 09:07:41 +08:00

41 lines
1.4 KiB
Diff

From 41fe0c106c557048b7fbf7164e53aea9bdb8747a Mon Sep 17 00:00:00 2001
From: cherry530 <707078654@qq.com>
Date: Thu, 14 Sep 2023 18:54:55 +0800
Subject: [PATCH] fix man command
Signed-off-by: cherry530 <707078654@qq.com>
---
README.md | 2 +-
main.c | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/README.md b/README.md
index 13c4938..529f010 100644
--- a/README.md
+++ b/README.md
@@ -25,7 +25,7 @@ cd minimap2 && make
./minimap2 -x ava-pb reads.fa reads.fa > overlaps.paf # PacBio read overlap
./minimap2 -x ava-ont reads.fa reads.fa > overlaps.paf # Nanopore read overlap
# man page for detailed command line options
-man ./minimap2.1
+man minimap2.1
```
## Table of Contents
diff --git a/main.c b/main.c
index 0be9933..9385075 100644
--- a/main.c
+++ b/main.c
@@ -366,7 +366,7 @@ int main(int argc, char *argv[])
fprintf(fp_help, " - asm5/asm10/asm20 - asm-to-ref mapping, for ~0.1/1/5%% sequence divergence\n");
fprintf(fp_help, " - splice/splice:hq - long-read/Pacbio-CCS spliced alignment\n");
fprintf(fp_help, " - sr - genomic short-read mapping\n");
- fprintf(fp_help, "\nSee `man ./minimap2.1' for detailed description of these and other advanced command-line options.\n");
+ fprintf(fp_help, "\nSee `man minimap2.1' for detailed description of these and other advanced command-line options.\n");
return fp_help == stdout? 0 : 1;
}
--
2.27.0