mirror of
https://github.com/nitanmarcel/isodrive.git
synced 2026-03-13 04:17:24 +00:00
Fix usage help message
This commit is contained in:
16
README.md
16
README.md
@@ -14,8 +14,8 @@
|
||||
|
||||
## Usage
|
||||
|
||||
```
|
||||
cdrom [FILE]... [OPTION]...
|
||||
```bash
|
||||
isodrive [FILE]... [OPTION]...
|
||||
Mounts the given FILE as a bootable device using configfs.
|
||||
Run without any arguments to unmount any mounted files and to display this help message.
|
||||
|
||||
@@ -24,6 +24,18 @@ Optional arguments:
|
||||
-cdrom Mounts the file as a cdrom.
|
||||
```
|
||||
|
||||
### Examples
|
||||
|
||||
mount iso as rw
|
||||
```bash
|
||||
isodrive /path/to/file.iso -rw
|
||||
```
|
||||
|
||||
mount iso as cdrom
|
||||
```bash
|
||||
isodrive /path/to/file.iso -cdrom
|
||||
```
|
||||
|
||||
## Linux
|
||||
* Has been only tested on Halium based mobile linux, but should work on mainline devices too.
|
||||
|
||||
|
||||
@@ -28,7 +28,7 @@ int main(int argc, char *argv[])
|
||||
if (argc == 1)
|
||||
{
|
||||
printf("Usage:\n");
|
||||
printf("cdrom [FILE]... [OPTION]...\n");
|
||||
printf("isodrive [FILE]... [OPTION]...\n");
|
||||
printf("Mounts the given FILE as a bootable device using configfs.\n");
|
||||
printf(
|
||||
"Run without any arguments to unmount any mounted files and display this help message.\n\n");
|
||||
|
||||
Reference in New Issue
Block a user