rename long help function

This commit is contained in:
Jerome Charaoui 2019-08-23 12:40:19 -04:00
parent 45cee81e15
commit 290ad9482e
1 changed files with 3 additions and 3 deletions

View File

@ -10,7 +10,7 @@
void add_arg(char ***fuse_argv_ptr, int *fuse_argc, char *opt_string); void add_arg(char ***fuse_argv_ptr, int *fuse_argc, char *opt_string);
static void print_help(char *program_name, int long_help); static void print_help(char *program_name, int long_help);
static void print_version(); static void print_version();
static void print_http_options(); static void print_long_help();
static int static int
parse_arg_list(int argc, char **argv, char ***fuse_argv, int *fuse_argc); parse_arg_list(int argc, char **argv, char ***fuse_argv, int *fuse_argc);
void parse_config_file(char ***argv, int *argc); void parse_config_file(char ***argv, int *argc);
@ -234,7 +234,7 @@ static void print_help(char *program_name, int long_help)
fprintf(stderr, fprintf(stderr,
"Usage: %s [options] URL mountpoint\n", program_name); "Usage: %s [options] URL mountpoint\n", program_name);
if (long_help) { if (long_help) {
print_http_options(); print_long_help();
} }
} }
@ -244,7 +244,7 @@ static void print_version()
"HTTPDirFS version %s\n", VERSION); "HTTPDirFS version %s\n", VERSION);
} }
static void print_http_options() static void print_long_help()
{ {
fprintf(stderr, fprintf(stderr,
"options from HTTPDirFS:\n\ "options from HTTPDirFS:\n\