generated from hasindu2008/slow5-template
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Bonson Wong
committed
Mar 28, 2024
1 parent
8bf7304
commit 6fe2b76
Showing
2 changed files
with
9 additions
and
12 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,7 @@ | ||
/** | ||
* @file main.c | ||
* @brief main programme | ||
* @author Sasha Jenner ([email protected]), Hasindu Gamaarachchi ([email protected]) | ||
* @author Sasha Jenner ([email protected]), Hasindu Gamaarachchi ([email protected]), Bonson Wong ([email protected]) | ||
* @date 27/02/2021 | ||
*/ | ||
|
||
|
@@ -108,17 +108,17 @@ int main(const int argc, char **argv) { | |
|
||
} else { | ||
const struct command cmds[] = { | ||
{"get", get_main}, | ||
{"head", head_main}, | ||
{"reads", reads_main}, | ||
{"get", get_main}, | ||
{"head", head_main}, | ||
{"reads", reads_main}, | ||
}; | ||
const size_t num_cmds = sizeof (cmds) / sizeof (*cmds); | ||
|
||
static struct option long_opts[] = { | ||
{"help", no_argument, NULL, 'h' }, //0 | ||
{"verbose", required_argument, NULL, 'v'}, //1 | ||
{"version", no_argument, NULL, 'V'}, //2 | ||
{"cite", no_argument, NULL, 0}, //3 | ||
{"help", no_argument, NULL, 'h'}, //0 | ||
{"verbose", required_argument, NULL, 'v'}, //1 | ||
{"version", no_argument, NULL, 'V'}, //2 | ||
{"cite", no_argument, NULL, 0}, //3 | ||
{NULL, 0, NULL, 0 } | ||
}; | ||
|
||
|
@@ -136,9 +136,6 @@ int main(const int argc, char **argv) { | |
DEBUG("displaying large help message%s",""); | ||
fprintf(stdout, HELP_LARGE_MSG, argv[0], argv[0]); | ||
exit(EXIT_SUCCESS); | ||
// ret = EXIT_SUCCESS; | ||
// break_flag = true; | ||
// break; | ||
case 'v': | ||
slow5curl_verbosity_level = atoi(optarg); | ||
print_args(argc,argv); | ||
|