Commit be39e248 authored by aniket-engg's avatar aniket-engg Committed by Aniket

help updated

parent 68d1cca5
...@@ -26,18 +26,20 @@ If you were using the old one you need to: ...@@ -26,18 +26,20 @@ If you were using the old one you need to:
## HELP SECTION ## HELP SECTION
``` ```
Usage: remixd -s <shared folder> --remix-ide https://remix.ethereum.org Usage: remixd -s <shared folder>
Provide a two-way connection between the local computer and Remix IDE. Provide a two-way connection between the local computer and Remix IDE
Options: Options:
-v, --version output the version number
-u, --remix-ide <url> URL of remix instance allowed to connect to this web sockect connection
-s, --shared-folder <path> Folder to share with Remix IDE
-r, --read-only Treat shared folder as read-only (experimental)
-h, --help output usage information
--remix-ide <url> URL of remix instance allowed to connect to this Example:
web sockect connection
-s, --shared-folder <path> Folder to share with Remix IDE remixd -s ./ -u http://localhost:8080
--read-only Treat shared folder as read-only (experimental)
-h, --help output usage information
``` ```
......
...@@ -62,7 +62,7 @@ function errorHandler (error: any, service: string) { ...@@ -62,7 +62,7 @@ function errorHandler (error: any, service: string) {
.option('-s, --shared-folder <path>', 'Folder to share with Remix IDE') .option('-s, --shared-folder <path>', 'Folder to share with Remix IDE')
.option('-r, --read-only', 'Treat shared folder as read-only (experimental)') .option('-r, --read-only', 'Treat shared folder as read-only (experimental)')
.on('--help', function () { .on('--help', function () {
console.log('\nExample:\n\n remixd -s ./ --remix-ide http://localhost:8080') console.log('\nExample:\n\n remixd -s ./ -u http://localhost:8080')
}).parse(process.argv) }).parse(process.argv)
// eslint-disable-next-line // eslint-disable-next-line
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment