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

hudsonZhu hudson at cyzhu.com
Tue Dec 2 13:50:05 AEDT 2025


Thanks, I’ll fix it.

Thanks,
Chengyu

> 2025年12月1日 21:54,zhaoyifan (H) <zhaoyifan28 at huawei.com> 写道:
> 
> 
> 
> 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/20251202/fda01e78/attachment.htm>


More information about the Linux-erofs mailing list