From ec6adaa376dd3badcfd298587ebac24a97b16710 Mon Sep 17 00:00:00 2001 From: Andrey Mazo Date: Sun, 19 Aug 2018 20:55:05 +0300 Subject: [PATCH] options: move "-o threads=" help text to libfuse/ Parsing of and acting upon "-o threads" option is done in the bundled `libfuse/`, so move the corresponding help text there too. This make help text consistent with behavior when building against system libfuse, which doesn't support this option. --- libfuse/lib/fuse.c | 3 +++ src/option_parser.cpp | 3 --- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/libfuse/lib/fuse.c b/libfuse/lib/fuse.c index 1ee0ecb7..74a9dcc3 100644 --- a/libfuse/lib/fuse.c +++ b/libfuse/lib/fuse.c @@ -4432,6 +4432,9 @@ static void fuse_lib_help(void) " -o intr allow requests to be interrupted\n" " -o intr_signal=NUM signal to send on interrupt (%i)\n" " -o modules=M1[:M2...] names of modules to push onto filesystem stack\n" +" -o threads=NUM number of worker threads. 0 = autodetect.\n" +" Negative values autodetect then divide by\n" +" absolute value. default = 0\n" "\n", FUSE_DEFAULT_INTR_SIGNAL); } diff --git a/src/option_parser.cpp b/src/option_parser.cpp index 4f93bed3..04a86eb4 100644 --- a/src/option_parser.cpp +++ b/src/option_parser.cpp @@ -299,9 +299,6 @@ usage(void) " -o ignorepponrename=\n" " Ignore path preserving when performing renames\n" " and links. default = false\n" - " -o threads= number of worker threads. 0 = autodetect.\n" - " Negative values autodetect then divide by\n" - " absolute value. default = 0\n" << std::endl; }