Skip to content

Commit

Permalink
fix format spacing
Browse files Browse the repository at this point in the history
  • Loading branch information
Bonson Wong committed Mar 28, 2024
1 parent 351d5b0 commit de07b46
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 9 deletions.
6 changes: 3 additions & 3 deletions include/slow5curl/s5curl.h
Original file line number Diff line number Diff line change
Expand Up @@ -36,9 +36,9 @@ extern "C" {
#endif

enum S5CURLProtocol {
S5CURLP_FTP,
S5CURLP_HTTP,
S5CURLP_UNKOWN
S5CURLP_FTP,
S5CURLP_HTTP,
S5CURLP_UNKOWN
};

typedef enum S5CURLProtocol S5CURLProtocol;
Expand Down
2 changes: 1 addition & 1 deletion src_tool/head.c
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ static void print_hdr(s5curl_t* s5c) {
slow5_hdr_print(s5c->s5p->header, SLOW5_FORMAT_ASCII, press_method);
}

int head_main(int argc, char **argv, struct program_meta *meta){
int head_main(int argc, char **argv, struct program_meta *meta) {

// Debug: print arguments
print_args(argc,argv);
Expand Down
8 changes: 4 additions & 4 deletions src_tool/main.c
Original file line number Diff line number Diff line change
Expand Up @@ -30,9 +30,9 @@
" --cite Prints the citation.\n" \
"\n" \
"COMMANDS:\n" \
" get Retrieve records for specified read IDs from a remote BLOW5 file URL.\n" \
" head Print header information from a remote BLOW5 file URL.\n" \
" reads Print list of all read IDs from a remote BLOW5 file URL.\n" \
" get Retrieve records for specified read IDs from a remote BLOW5 file URL.\n" \
" head Print header information from a remote BLOW5 file URL.\n" \
" reads Print list of all read IDs from a remote BLOW5 file URL.\n" \
"\n" \
"ARGS: Try '%s [COMMAND] --help' for more information.\n" \

Expand Down Expand Up @@ -83,7 +83,7 @@ void segv_handler(int sig) {
}


int main(const int argc, char **argv){
int main(const int argc, char **argv) {

// Initial time
double init_realtime = slow5_realtime();
Expand Down
2 changes: 1 addition & 1 deletion src_tool/reads.c
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ static void print_rid(s5curl_t* s5c) {
s5curl_idx_unload(s5c);
}

int reads_main(int argc, char **argv, struct program_meta *meta){
int reads_main(int argc, char **argv, struct program_meta *meta) {

// Debug: print arguments
print_args(argc,argv);
Expand Down

0 comments on commit de07b46

Please sign in to comment.