[PATCH v1] erofs-utils: mount: add manpage and usage information

zhaoyifan (H) zhaoyifan28 at huawei.com
Tue Dec 2 00:54:26 AEDT 2025


On 2025/11/30 11:35, ChengyuZhu6 wrote:
> +static void usage(int argc, char **argv)
> +{
> +	printf("Usage: %s [OPTIONS] SOURCE [MOUNTPOINT]\n"
> +	       "Manage EROFS filesystem.\n"
> +	       "\n"
> +	       "General options:\n"
> +	       " -V, --version         print the version number of mount.erofs and exit\n"
> +	       " -h, --help            display this help and exit\n"
> +	       " -o options            comma-separated list of mount options\n"
> +	       " -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"

Hi Chengyu,

Seems wrong indent here.


Thanks,
Yifan Zhao


> +#ifdef OCIEROFS_ENABLED
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.ozlabs.org/pipermail/linux-erofs/attachments/20251201/4a854864/attachment.htm>


More information about the Linux-erofs mailing list