Skip to content

Commit 7da9dd5

Browse files
committed
Update wording
1 parent 563a750 commit 7da9dd5

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

bittensor_cli/cli.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -3977,8 +3977,8 @@ def stake_remove(
39773977
)
39783978
if not amount and not prompt:
39793979
print_error(
3980-
f"Just using [{COLORS.G.ARG}]--no-prompt[/{COLORS.G.ARG}] is too ambiguous. You need to specify an amount,"
3981-
f"or use "
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 "
39823982
f"[{COLORS.G.ARG}]--unstake-all[/{COLORS.G.ARG}]/[{COLORS.G.ARG}]--unstake-all-alpha[/{COLORS.G.ARG}]."
39833983
)
39843984
return False
@@ -3987,8 +3987,8 @@ def stake_remove(
39873987
json_console.print_json(
39883988
data={
39893989
"success": False,
3990-
"err_msg": "Just using '--no-prompt' is too ambiguous without specifying an amount or "
3991-
"'--unstake-all'/'--unstake-all-alpha'",
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'",
39923992
}
39933993
)
39943994
return False

0 commit comments

Comments
 (0)