diff --git a/README.md b/README.md index 0587aa0..a5f0c8a 100644 --- a/README.md +++ b/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. diff --git a/src/main.cpp b/src/main.cpp index c114cbe..67a250b 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -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");