From 8ce4cb8d4122caecc7268c335a07d2656ac64f3f Mon Sep 17 00:00:00 2001 From: dwinter Date: Thu, 10 Jun 2021 11:54:56 +1200 Subject: [PATCH] Tiny tweak to error message when bamToFastq doesn't get a bam file Before this commit the bamToFastq utility produced an error message asking for '-bam' when no bam file was provided, this commit matches the error message to the required argument (-i) --- src/bamToFastq/bamToFastqMain.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/bamToFastq/bamToFastqMain.cpp b/src/bamToFastq/bamToFastqMain.cpp index be9fefadd..6544c5720 100644 --- a/src/bamToFastq/bamToFastqMain.cpp +++ b/src/bamToFastq/bamToFastqMain.cpp @@ -98,7 +98,7 @@ int bamtofastq_main(int argc, char* argv[]) { // make sure we have a BAM file if (!haveInBam) { - cerr << endl << "*****" << endl << "*****ERROR: Need -bam. " << endl << "*****" << endl; + cerr << endl << "*****" << endl << "*****ERROR: Need bam file (-i). " << endl << "*****" << endl; showHelp = true; } // make sure we have an end1 FASTQ file