ux: wallet: soft-delete wallet
Renaming the function to soft-delete to better reflect what it does - and specify that a hard deletion is needed for permanent removal.
This commit is contained in:
parent
caeeb6a7d9
commit
255ff1a4b7
@ -499,8 +499,8 @@ var walletVerify = &cli.Command{
|
|||||||
}
|
}
|
||||||
|
|
||||||
var walletDelete = &cli.Command{
|
var walletDelete = &cli.Command{
|
||||||
Name: "delete",
|
Name: "soft-delete",
|
||||||
Usage: "Delete an account from the wallet",
|
Usage: "Soft delete an address from the wallet - hard deletion needed for permanent removal",
|
||||||
ArgsUsage: "<address> ",
|
ArgsUsage: "<address> ",
|
||||||
Action: func(cctx *cli.Context) error {
|
Action: func(cctx *cli.Context) error {
|
||||||
api, closer, err := GetFullNodeAPI(cctx)
|
api, closer, err := GetFullNodeAPI(cctx)
|
||||||
|
@ -212,7 +212,7 @@ COMMANDS:
|
|||||||
set-default Set default wallet address
|
set-default Set default wallet address
|
||||||
sign sign a message
|
sign sign a message
|
||||||
verify verify the signature of a message
|
verify verify the signature of a message
|
||||||
delete Delete an account from the wallet
|
soft-delete Soft delete an address from the wallet - hard deletion needed for permanent removal
|
||||||
market Interact with market balances
|
market Interact with market balances
|
||||||
help, h Shows a list of commands or help for one command
|
help, h Shows a list of commands or help for one command
|
||||||
|
|
||||||
@ -343,13 +343,13 @@ OPTIONS:
|
|||||||
|
|
||||||
```
|
```
|
||||||
|
|
||||||
### lotus wallet delete
|
### lotus wallet soft-delete
|
||||||
```
|
```
|
||||||
NAME:
|
NAME:
|
||||||
lotus wallet delete - Delete an account from the wallet
|
lotus wallet soft-delete - Soft delete an address from the wallet - hard deletion needed for permanent removal
|
||||||
|
|
||||||
USAGE:
|
USAGE:
|
||||||
lotus wallet delete [command options] <address>
|
lotus wallet soft-delete [command options] <address>
|
||||||
|
|
||||||
OPTIONS:
|
OPTIONS:
|
||||||
--help, -h show help (default: false)
|
--help, -h show help (default: false)
|
||||||
|
Loading…
Reference in New Issue
Block a user