diff mbox series

[f2fs-dev,v3,1/2] mkfs.f2fs: change -c option description

Message ID 20240927160655.3594366-1-daeho43@gmail.com (mailing list archive)
State New
Headers show
Series [f2fs-dev,v3,1/2] mkfs.f2fs: change -c option description | expand

Commit Message

Daeho Jeong Sept. 27, 2024, 4:06 p.m. UTC
From: Daeho Jeong <daehojeong@google.com>

Current description confuses users like they can add addtional devices
with one -c option using commas(,) at the same time.

Signed-off-by: Daeho Jeong <daehojeong@google.com>
Reviewed-by: Chao Yu <chao@kernel.org>
---
 mkfs/f2fs_format_main.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Comments

Zhiguo Niu Oct. 17, 2024, 8:07 a.m. UTC | #1
Daeho Jeong <daeho43@gmail.com> 于2024年9月28日周六 00:08写道:
>
> From: Daeho Jeong <daehojeong@google.com>
>
> Current description confuses users like they can add addtional devices
> with one -c option using commas(,) at the same time.
>
> Signed-off-by: Daeho Jeong <daehojeong@google.com>
> Reviewed-by: Chao Yu <chao@kernel.org>
> ---
>  mkfs/f2fs_format_main.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/mkfs/f2fs_format_main.c b/mkfs/f2fs_format_main.c
> index d9cdd61..b6785cd 100644
> --- a/mkfs/f2fs_format_main.c
> +++ b/mkfs/f2fs_format_main.c
> @@ -50,7 +50,7 @@ static void mkfs_usage()
>         MSG(0, "\nUsage: mkfs.f2fs [options] device [sectors]\n");
>         MSG(0, "[options]:\n");
>         MSG(0, "  -b filesystem block size [default:4096]\n");
> -       MSG(0, "  -c device1[,device2,...] up to 7 additional devices, except meta device\n");
> +       MSG(0, "  -c [device_name] up to 7 additional devices, except meta device\n");
Dears,
it seems that man should be updated too?
.BI \-c " device-list"
Build f2fs with these additional "comma separated devices", so that the user can
see all the devices as one big volume.
Supports up to 7 devices except meta device.
thanks!

>         MSG(0, "  -d debug level [default:0]\n");
>         MSG(0, "  -e [cold file ext list] e.g. \"mp3,gif,mov\"\n");
>         MSG(0, "  -E [hot file ext list] e.g. \"db\"\n");
> --
> 2.46.1.824.gd892dcdcdd-goog
>
>
>
> _______________________________________________
> Linux-f2fs-devel mailing list
> Linux-f2fs-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/linux-f2fs-devel
diff mbox series

Patch

diff --git a/mkfs/f2fs_format_main.c b/mkfs/f2fs_format_main.c
index d9cdd61..b6785cd 100644
--- a/mkfs/f2fs_format_main.c
+++ b/mkfs/f2fs_format_main.c
@@ -50,7 +50,7 @@  static void mkfs_usage()
 	MSG(0, "\nUsage: mkfs.f2fs [options] device [sectors]\n");
 	MSG(0, "[options]:\n");
 	MSG(0, "  -b filesystem block size [default:4096]\n");
-	MSG(0, "  -c device1[,device2,...] up to 7 additional devices, except meta device\n");
+	MSG(0, "  -c [device_name] up to 7 additional devices, except meta device\n");
 	MSG(0, "  -d debug level [default:0]\n");
 	MSG(0, "  -e [cold file ext list] e.g. \"mp3,gif,mov\"\n");
 	MSG(0, "  -E [hot file ext list] e.g. \"db\"\n");