Skip to content

Commit 4b4a559

Browse files
committed
Updated colours
1 parent 9a5403d commit 4b4a559

File tree

1 file changed

+7
-3
lines changed

1 file changed

+7
-3
lines changed

bittensor_cli/cli.py

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4612,7 +4612,9 @@ def sudo_set(
46124612
if param_name in ["alpha_high", "alpha_low"]:
46134613
if not prompt:
46144614
err_console.print(
4615-
"`alpha_high` and `alpha_low` values cannot be set with `--no-prompt`"
4615+
f"[{COLORS.SU.HYPERPARAM}]alpha_high[/{COLORS.SU.HYPERPARAM}] and "
4616+
f"[{COLORS.SU.HYPERPARAM}]alpha_low[/{COLORS.SU.HYPERPARAM}] "
4617+
f"values cannot be set with `--no-prompt`"
46164618
)
46174619
return False
46184620
param_name = "alpha_values"
@@ -4626,11 +4628,13 @@ def sudo_set(
46264628
if param_name == "yuma_version":
46274629
if not prompt:
46284630
err_console.print(
4629-
"`yuma_version` is set using a different hyperparameter, and thus cannot be set with `--no-prompt`"
4631+
f"[{COLORS.SU.HYPERPARAM}]yuma_version[/{COLORS.SU.HYPERPARAM}]"
4632+
f" is set using a different hyperparameter, and thus cannot be set with `--no-prompt`"
46304633
)
46314634
return False
46324635
if Confirm.ask(
4633-
"`yuma_version` can only be used to toggle Yuma 3. Would you like to toggle Yuma 3?"
4636+
f"[{COLORS.SU.HYPERPARAM}]yuma_version[/{COLORS.SU.HYPERPARAM}] can only be used to toggle Yuma 3. "
4637+
f"Would you like to toggle Yuma 3?"
46344638
):
46354639
param_name = "yuma3_enabled"
46364640
question = Prompt.ask(

0 commit comments

Comments
 (0)