AOSP: erofs-utils: update usage due to fs_config
A message that is not in the archive (sent off-list or not yet received): [email protected]
PATCH 1/1 AOSP: erofs-utils: update usage due to fs_config
After fs_config support is added, usage() is also needed to be updated as well.
Fixes 8a9e8046f170 ("AOSP: erofs-utils: add fs_config support")
Cc Li Guifu <[email protected]>
Signed-off-by Gao Xiang <[email protected]>
--- mkfs/main.c | 24 +++++++++++++++--------- 1 file changed, 15 insertions(+), 9 deletions(-)
mkfs/main.c +15 -9
@@ -61,17 +61,23 @@ static void usage(void) { fputs("usage: [options] FILE DIRECTORY\n\n" "Generate erofs image from DIRECTORY to FILE, and [options] are:\n" - " -zX[,Y] X=compressor (Y=compression level, optional)\n" - " -d# set output message level to # (maximum 9)\n" - " -x# set xattr tolerance to # (< 0, disable xattrs; default 2)\n" - " -EX[,...] X=extended options\n" - " -T# set a fixed UNIX timestamp # to all files\n" - " --exclude-path=X avoid including file X (X = exact literal path)\n" - " --exclude-regex=X avoid including files that match X (X = regular expression)\n" + " -zX[,Y] X=compressor (Y=compression level, optional)\n" + " -d# set output message level to # (maximum 9)\n" + " -x# set xattr tolerance to # (< 0, disable xattrs; default 2)\n" + " -EX[,...] X=extended options\n" + " -T# set a fixed UNIX timestamp # to all files\n" + " --exclude-path=X avoid including file X (X = exact literal path)\n" + " --exclude-regex=X avoid including files that match X (X = regular expression)\n" #ifdef HAVE_LIBSELINUX - " --file-contexts=X specify a file contexts file to setup selinux labels\n" + " --file-contexts=X specify a file contexts file to setup selinux labels\n" +#endif + " --help display this help and exit\n" +#ifdef WITH_ANDROID +"\nwith following android-specific options:\n" +" --mount-point=X X=prefix of target fs path (default: /)\n" +" --product-out=X X=product_out directory\n" + " --fs-config-file=X X=fs_config file\n"#endif -" --help display this help and exit\n" "\nAvailable compressors are: ", stderr);print_available_compressors (stderr,", " ); }
Signature · 1 line
2.24.0
PATCH 1/1 AOSP: erofs-utils: update usage due to fs_config
After fs_config support is added, usage() should
be updated together as well.
Fixes 8a9e8046f170 ("AOSP: erofs-utils: add fs_config support")
Cc Li Guifu <[email protected]>
Signed-off-by Gao Xiang <[email protected]>
---
v2: fix commit message expression.
mkfs/main.c | 24 +++++++++++++++--------- 1 file changed, 15 insertions(+), 9 deletions(-)
mkfs/main.c +15 -9
@@ -61,17 +61,23 @@ static void usage(void) { fputs("usage: [options] FILE DIRECTORY\n\n" "Generate erofs image from DIRECTORY to FILE, and [options] are:\n" - " -zX[,Y] X=compressor (Y=compression level, optional)\n" - " -d# set output message level to # (maximum 9)\n" - " -x# set xattr tolerance to # (< 0, disable xattrs; default 2)\n" - " -EX[,...] X=extended options\n" - " -T# set a fixed UNIX timestamp # to all files\n" - " --exclude-path=X avoid including file X (X = exact literal path)\n" - " --exclude-regex=X avoid including files that match X (X = regular expression)\n" + " -zX[,Y] X=compressor (Y=compression level, optional)\n" + " -d# set output message level to # (maximum 9)\n" + " -x# set xattr tolerance to # (< 0, disable xattrs; default 2)\n" + " -EX[,...] X=extended options\n" + " -T# set a fixed UNIX timestamp # to all files\n" + " --exclude-path=X avoid including file X (X = exact literal path)\n" + " --exclude-regex=X avoid including files that match X (X = regular expression)\n" #ifdef HAVE_LIBSELINUX - " --file-contexts=X specify a file contexts file to setup selinux labels\n" + " --file-contexts=X specify a file contexts file to setup selinux labels\n" +#endif + " --help display this help and exit\n" +#ifdef WITH_ANDROID +"\nwith following android-specific options:\n" +" --mount-point=X X=prefix of target fs path (default: /)\n" +" --product-out=X X=product_out directory\n" + " --fs-config-file=X X=fs_config file\n"#endif -" --help display this help and exit\n" "\nAvailable compressors are: ", stderr);print_available_compressors (stderr,", " ); }
Signature · 1 line
2.24.0
Quoted 6 lines · Gao Xiang
After
fs_configsupport is added,usage()should
be updated together as well.Fixes 8a9e8046f170 ("AOSP: erofs-utils: add fs_config support")Cc Li Guifu <[email protected]>Signed-off-by Gao Xiang <[email protected]>
Reviewed-by Li Guifu <[email protected]>