help updated

pull/5370/head
aniket-engg 4 years ago committed by Aniket
parent 2ef5b36a58
commit 8d0356a015
  1. 20
      libs/remixd/README.md
  2. 2
      libs/remixd/src/bin/remixd.ts

@ -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) {
.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

Loading…
Cancel
Save