Skip to content

Commit 8ce4cb8

Browse files
committed
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)
1 parent 0369b03 commit 8ce4cb8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/bamToFastq/bamToFastqMain.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -98,7 +98,7 @@ int bamtofastq_main(int argc, char* argv[]) {
9898

9999
// make sure we have a BAM file
100100
if (!haveInBam) {
101-
cerr << endl << "*****" << endl << "*****ERROR: Need -bam. " << endl << "*****" << endl;
101+
cerr << endl << "*****" << endl << "*****ERROR: Need bam file (-i). " << endl << "*****" << endl;
102102
showHelp = true;
103103
}
104104
// make sure we have an end1 FASTQ file

0 commit comments

Comments
 (0)