From 24c5230547db84cffcf3e33ab7398995703254ed Mon Sep 17 00:00:00 2001 From: h4x3rotab Date: Sun, 25 Jun 2023 09:51:05 +0000 Subject: [PATCH] scripts: shortened pruntime & node opt in console --- scripts/js/src/console.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/scripts/js/src/console.js b/scripts/js/src/console.js index 06030ec46f..96f23ed7fb 100644 --- a/scripts/js/src/console.js +++ b/scripts/js/src/console.js @@ -150,8 +150,8 @@ async function estimateFeeOn(endpoint, callHex) { } program - .option('--pruntime-endpoint ', 'pRuntime API endpoint', process.env.PRUNTIME_ENDPOINT || 'http://localhost:8000') - .option('--substrate-ws-endpoint ', 'Substrate WS endpoint. Supported builtin endpoints: phala, khala.', process.env.ENDPOINT || 'ws://localhost:9944') + .option('--chain, --substrate-ws-endpoint ', 'Substrate WS endpoint. Supported builtin endpoints: phala, khala.', process.env.ENDPOINT || 'ws://localhost:9944') + .option('--pruntime, --pruntime-endpoint ', 'pRuntime API endpoint', process.env.PRUNTIME_ENDPOINT || 'http://localhost:8000') .option('--substrate-no-retry', false) .option('--at ', 'access the state at a certain block', null) .option('--key-type ', 'key type', 'sr25519')