Add short help alias
This commit is contained in:
parent
426515a9a1
commit
705bf0257a
@ -105,6 +105,7 @@ services:
|
|||||||
|
|
||||||
- `gas` config ignored
|
- `gas` config ignored
|
||||||
- uses `auto` fee calculation using gas estimation with default multiplier value from `registry-sdk`
|
- uses `auto` fee calculation using gas estimation with default multiplier value from `registry-sdk`
|
||||||
|
- tx fails mid-execution if it runs out of given gas
|
||||||
- Fees set to a `X` (without `alnt` suffix), gas price set to `Yalnt`:
|
- Fees set to a `X` (without `alnt` suffix), gas price set to `Yalnt`:
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
@ -116,6 +117,7 @@ services:
|
|||||||
|
|
||||||
- `gas` config ignored
|
- `gas` config ignored
|
||||||
- uses `auto` fee calculation using gas estimation with `fees` as the multiplier
|
- uses `auto` fee calculation using gas estimation with `fees` as the multiplier
|
||||||
|
- tx fails mid-execution if it runs out of given gas, can be retried with a higher gas estimation multiplier (`fees`)
|
||||||
- Fees and gas price both not set:
|
- Fees and gas price both not set:
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
@ -132,7 +134,7 @@ services:
|
|||||||
Gas price must be set in the client options when auto gas is used.
|
Gas price must be set in the client options when auto gas is used.
|
||||||
```
|
```
|
||||||
|
|
||||||
- The `gas`, `fees` and `gasPrice` can be set to some default values in the config as shown above, and can be overriden for each command using the `--gas`, `--fees` and `--gasPrice` arguments
|
- The `gas`, `fees` and `gasPrice` can be set to some default values in the config as shown above, and can be overriden for each command using the `--gas`, `--fees` and `--gasPrice` arguments:
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
# Example:
|
# Example:
|
||||||
|
@ -26,4 +26,5 @@ yargs(hideBin(process.argv))
|
|||||||
.commandDir('cmds')
|
.commandDir('cmds')
|
||||||
.demandCommand()
|
.demandCommand()
|
||||||
.help()
|
.help()
|
||||||
|
.alias('h', 'help')
|
||||||
.argv;
|
.argv;
|
||||||
|
Loading…
Reference in New Issue
Block a user