blob: 28e5bf918991e2a2a2231e06d32571208e5e5d42 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
|
--- src/main.cpp.orig 2021-10-19 02:19:29 UTC
+++ src/main.cpp
@@ -1,4 +1,5 @@
#include <stdio.h>
+#include <sysexits.h>
#include "fastqreader.h"
#include "unittest.h"
#include <time.h>
@@ -18,7 +19,7 @@ int main(int argc, char* argv[]){
if(argc == 1) {
cerr << "fastp: an ultra-fast all-in-one FASTQ preprocessor" << endl << "version " << FASTP_VER << endl;
//cerr << "fastp --help to see the help"<<endl;
- //return 0;
+ return EX_USAGE;
}
if (argc == 2 && strcmp(argv[1], "test")==0){
UnitTest tester;
|