From 34e30292ed848c4892688630ca513872b270469c Mon Sep 17 00:00:00 2001 From: Aniket-Engg Date: Thu, 26 May 2022 13:39:00 +0530 Subject: [PATCH] update remix usage --- libs/remixd/src/bin/remixd.ts | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/libs/remixd/src/bin/remixd.ts b/libs/remixd/src/bin/remixd.ts index c345bc89fc..d0f52556e3 100644 --- a/libs/remixd/src/bin/remixd.ts +++ b/libs/remixd/src/bin/remixd.ts @@ -60,13 +60,12 @@ function errorHandler (error: any, service: string) { program.version(version, '-v, --version') program - .usage('-s ') - .description('Provide a two-way connection between the local computer and Remix IDE') - .option('-u, --remix-ide ', 'URL of remix instance allowed to connect to this web sockect connection') - .option('-s, --shared-folder ', 'Folder to share with Remix IDE') + .description('Establish a two-way websocket connection between the local computer and Remix IDE for a folder') + .option('-u, --remix-ide ', 'URL of remix instance allowed to connect') + .option('-s, --shared-folder ', 'Folder to share with Remix IDE (Default: CWD)') .option('-r, --read-only', 'Treat shared folder as read-only (experimental)') .on('--help', function () { - console.log('\nExample:\n\n remixd -s ./ -u http://localhost:8080') + console.log('\nExample:\n\n remixd -s ./shared_project -u http://localhost:8080') }).parse(process.argv) // eslint-disable-next-line