Revert soft-delete cmd
Revert `soft-delete` cmd back to `delete`. Keeps the updated usage
This commit is contained in:
parent
96ee416b96
commit
c3f2f12cb2
@ -499,7 +499,7 @@ var walletVerify = &cli.Command{
|
||||
}
|
||||
|
||||
var walletDelete = &cli.Command{
|
||||
Name: "soft-delete",
|
||||
Name: "delete",
|
||||
Usage: "Soft delete an address from the wallet - hard deletion needed for permanent removal",
|
||||
ArgsUsage: "<address> ",
|
||||
Action: func(cctx *cli.Context) error {
|
||||
|
@ -265,7 +265,7 @@ func TestWalletDelete(t *testing.T) {
|
||||
mockApi.EXPECT().WalletDelete(ctx, addr).Return(nil)
|
||||
|
||||
//stm: @CLI_WALLET_DELETE_001
|
||||
err = app.Run([]string{"wallet", "soft-delete", "f01234"})
|
||||
err = app.Run([]string{"wallet", "delete", "f01234"})
|
||||
assert.NoError(t, err)
|
||||
}
|
||||
|
||||
|
@ -212,7 +212,7 @@ COMMANDS:
|
||||
set-default Set default wallet address
|
||||
sign sign a message
|
||||
verify verify the signature of a message
|
||||
soft-delete Soft delete an address from the wallet - hard deletion needed for permanent removal
|
||||
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 soft-delete
|
||||
### lotus wallet delete
|
||||
```
|
||||
NAME:
|
||||
lotus wallet soft-delete - Soft delete an address from the wallet - hard deletion needed for permanent removal
|
||||
lotus wallet delete - Soft delete an address from the wallet - hard deletion needed for permanent removal
|
||||
|
||||
USAGE:
|
||||
lotus wallet soft-delete [command options] <address>
|
||||
lotus wallet delete [command options] <address>
|
||||
|
||||
OPTIONS:
|
||||
--help, -h show help (default: false)
|
||||
|
Loading…
Reference in New Issue
Block a user