Fixes: 59c36e7a4008 ("erofs-utils: mkfs: use all available processors by default") Signed-off-by: Gao Xiang <hsiang...@linux.alibaba.com> --- mkfs/main.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/mkfs/main.c b/mkfs/main.c index 4c3620d..455c152 100644 --- a/mkfs/main.c +++ b/mkfs/main.c @@ -187,7 +187,7 @@ static void usage(int argc, char **argv) " (and optionally dump the raw stream to X together)\n" #endif #ifdef EROFS_MT_ENABLED - " --workers=# set the number of worker threads to # (default=1)\n" + " --workers=# set the number of worker threads to # (default: %u)\n" #endif " --xattr-prefix=X X=extra xattr name prefix\n" " --mount-point=X X=prefix of target fs path (default: /)\n" @@ -198,7 +198,7 @@ static void usage(int argc, char **argv) " --fs-config-file=X X=fs_config file\n" " --block-list-file=X X=block_list file\n" #endif - ); + , erofs_get_available_processors() /* --workers= */); } static void version(void) -- 2.39.3