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:
@@ -14,8 +14,8 @@
|
|||||||
|
|
||||||
## Usage
|
## Usage
|
||||||
|
|
||||||
```
|
```bash
|
||||||
cdrom [FILE]... [OPTION]...
|
isodrive [FILE]... [OPTION]...
|
||||||
Mounts the given FILE as a bootable device using configfs.
|
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.
|
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.
|
-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
|
## Linux
|
||||||
* Has been only tested on Halium based mobile linux, but should work on mainline devices too.
|
* Has been only tested on Halium based mobile linux, but should work on mainline devices too.
|
||||||
|
|
||||||
|
|||||||
+1
-1
@@ -28,7 +28,7 @@ int main(int argc, char *argv[])
|
|||||||
if (argc == 1)
|
if (argc == 1)
|
||||||
{
|
{
|
||||||
printf("Usage:\n");
|
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("Mounts the given FILE as a bootable device using configfs.\n");
|
||||||
printf(
|
printf(
|
||||||
"Run without any arguments to unmount any mounted files and display this help message.\n\n");
|
"Run without any arguments to unmount any mounted files and display this help message.\n\n");
|
||||||
|
|||||||
Reference in New Issue
Block a user