Add manpage and cmdline usage help for the newly introduced `oci.insecure` option in mount.erofs.
Signed-off-by: Yifan Zhao <[email protected]> --- man/mount.erofs.8 | 3 +++ mount/main.c | 1 + 2 files changed, 4 insertions(+) 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..6652cf5 100644 --- a/mount/main.c +++ b/mount/main.c @@ -105,6 +105,7 @@ static void usage(int argc, char **argv) " oci.password=<pass> password for authentication (optional)\n" " oci.tarindex=<path> path to tarball index file (optional)\n" " oci.zinfo=<path> path to gzip zinfo file (optional)\n" + " oci.insecure use HTTP instead of HTTPS (optional)\n" #endif , argv[0]); } -- 2.43.0
