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 @@ -3972,18 +3972,18 @@ def stake_remove(
3972
3972
)
3973
3973
if not amount and not prompt :
3974
3974
print_error (
3975
- f"Using { arg__ ( '--no-prompt' ) } without an amount/'all' is too ambiguous. "
3976
- f"You need to specify an { arg__ ( '--amount' ) } or use "
3977
- f"{ arg__ ( '--unstake- all' ) } / { arg__ ( '--unstake-all-alpha' ) } . "
3975
+ f"Ambiguous request! Specify [ { COLORS . G . ARG } ]-- amount[/ { COLORS . G . ARG } ], "
3976
+ f"[ { COLORS . G . ARG } ]--all[/ { COLORS . G . ARG } ], "
3977
+ f"or [ { COLORS . G . ARG } ]-- all-alpha[/ { COLORS . G . ARG } ] to use [ { COLORS . G . ARG } ]--no-prompt[/ { COLORS . G . ARG } ] "
3978
3978
)
3979
3979
return False
3980
3980
3981
3981
if not amount and json_output :
3982
3982
json_console .print_json (
3983
3983
data = {
3984
3984
"success" : False ,
3985
- "err_msg" : "Using '--json-output' without an amount/' all' is too ambiguous. You need to specify an "
3986
- "'--amount' or use '--unstake-all'/'--unstake-all-alpha '" ,
3985
+ "err_msg" : "Ambiguous request! Specify '--amount', '-- all', "
3986
+ "or '--all-alpha' to use '--json-output '" ,
3987
3987
}
3988
3988
)
3989
3989
return False
You can’t perform that action at this time.
0 commit comments