On 2025/12/22 15:54, Yifan Zhao wrote:
Add manpage and cmdline usage help for the newly introduced `oci.insecure` option in mount.erofs. Also fix an indent error. Signed-off-by: Yifan Zhao <[email protected]> --- man/mount.erofs.8 | 3 +++ mount/main.c | 3 ++- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/man/mount.erofs.8 b/man/mount.erofs.8 index 6b3a32b..856e07f 100644 --- a/man/mount.erofs.8 +++ b/man/mount.erofs.8 @@ -117,6 +117,9 @@ Path to a tarball index file for hybrid tar+OCI mode. .TP .BI "oci.zinfo=" path Path to a gzip zinfo file for random access to gzip-compressed tar layers. +.TP +.BI "oci.insecure" +Use HTTP instead of HTTPS to access the image registry. .SH NOTES .IP \(bu 2 EROFS filesystems are read-only by nature. The \fBrw\fR option will be ignored. diff --git a/mount/main.c b/mount/main.c index ed6bcdc..1463dee 100644 --- a/mount/main.c +++ b/mount/main.c @@ -94,7 +94,7 @@ static void usage(int argc, char **argv) " -t type[.subtype] filesystem type (and optional subtype)\n" " subtypes: fuse, local, nbd\n" " -u unmount the filesystem\n" - " --reattach reattach to an existing NBD device\n" + " --reattach reattach to an existing NBD device\n"
Not quite sure if we will switch to this style, so don't touch this line for now? Thanks, Gao Xiang
