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:
Rjan 2022-04-06 10:23:03 +02:00
parent caeeb6a7d9
commit 255ff1a4b7
2 changed files with 6 additions and 6 deletions

View File

@ -499,8 +499,8 @@ var walletVerify = &cli.Command{
}
var walletDelete = &cli.Command{
Name: "delete",
Usage: "Delete an account from the wallet",
Name: "soft-delete",
Usage: "Soft delete an address from the wallet - hard deletion needed for permanent removal",
ArgsUsage: "<address> ",
Action: func(cctx *cli.Context) error {
api, closer, err := GetFullNodeAPI(cctx)

View File

@ -212,7 +212,7 @@ COMMANDS:
set-default Set default wallet address
sign sign 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
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:
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:
lotus wallet delete [command options] <address>
lotus wallet soft-delete [command options] <address>
OPTIONS:
--help, -h show help (default: false)