Skip to content

Commit

Permalink
mkfs: Show the default number of worker threads
Browse files Browse the repository at this point in the history
Signed-off-by: sekaiacg <[email protected]>
  • Loading branch information
sekaiacg committed May 10, 2024
1 parent 0503855 commit 6318f79
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion mkfs/main.c
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand All @@ -197,6 +197,9 @@ static void usage(int argc, char **argv)
" --product-out=X X=product_out directory\n"
" --fs-config-file=X X=fs_config file\n"
" --block-list-file=X X=block_list file\n"
#endif
#ifdef EROFS_MT_ENABLED
, erofs_get_available_processors()
#endif
);
}
Expand Down

0 comments on commit 6318f79

Please sign in to comment.