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(
39773977 )
39783978 if not amount and not prompt :
39793979 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 } ]"
39833983 )
39843984 return False
39853985
39863986 if not amount and json_output :
39873987 json_console .print_json (
39883988 data = {
39893989 "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 '" ,
39923992 }
39933993 )
39943994 return False
You can’t perform that action at this time.
0 commit comments