File tree Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -3977,18 +3977,18 @@ def stake_remove(
3977
3977
)
3978
3978
if not amount and not prompt :
3979
3979
print_error (
3980
- f"Using [{ COLORS .G .ARG } ]--no-prompt [/{ COLORS .G .ARG } ] without an amount/'all' is too ambiguous. "
3981
- f"You need to specify an [{ COLORS .G .ARG } ]--amount [/{ COLORS .G .ARG } ] or use "
3982
- f"[{ COLORS .G .ARG } ]--unstake- all[/{ COLORS .G .ARG } ]/ [{ COLORS .G .ARG } ]--unstake-all-alpha [/{ COLORS .G .ARG } ]. "
3980
+ f"Ambiguous request! Specify [{ COLORS .G .ARG } ]--amount [/{ COLORS .G .ARG } ], "
3981
+ f"[{ COLORS .G .ARG } ]--all [/{ COLORS .G .ARG } ], "
3982
+ f"or [{ COLORS .G .ARG } ]--all-alpha [/{ COLORS .G .ARG } ] to use [{ COLORS .G .ARG } ]--no-prompt [/{ COLORS .G .ARG } ]"
3983
3983
)
3984
3984
return False
3985
3985
3986
3986
if not amount and json_output :
3987
3987
json_console .print_json (
3988
3988
data = {
3989
3989
"success" : False ,
3990
- "err_msg" : "Using '--json-output' without an amount/' all' is too ambiguous. You need to specify an "
3991
- "'--amount' or use '--unstake-all'/'--unstake-all-alpha '" ,
3990
+ "err_msg" : "Ambiguous request! Specify '--amount', '-- all', "
3991
+ "or '--all-alpha' to use '--json-output '" ,
3992
3992
}
3993
3993
)
3994
3994
return False
You can’t perform that action at this time.
0 commit comments