Skip to content

Commit 0a4488b

Browse files
committed
Fixes help msg of safe staking help (in stake add etc)
1 parent f0cd44e commit 0a4488b

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

bittensor_cli/cli.py

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -266,15 +266,17 @@ class Options:
266266
None,
267267
"--safe-staking/--no-safe-staking",
268268
"--safe/--unsafe",
269-
help="Enable or disable safe staking mode (default: enabled).",
269+
show_default=False,
270+
help="Enable or disable safe staking mode [dim](default: enabled)[/dim].",
270271
)
271272
allow_partial_stake = typer.Option(
272273
None,
273274
"--allow-partial-stake/--no-allow-partial-stake",
274275
"--partial/--no-partial",
275276
"--allow/--not-allow",
276277
"--allow-partial/--not-partial",
277-
help="Enable or disable partial stake mode (default: disabled).",
278+
show_default=False,
279+
help="Enable or disable partial stake mode [dim](default: disabled)[/dim].",
278280
)
279281
dashboard_path = typer.Option(
280282
None,
@@ -1184,12 +1186,14 @@ def set_config(
11841186
"--safe-staking/--no-safe-staking",
11851187
"--safe/--unsafe",
11861188
help="Enable or disable safe staking mode.",
1189+
show_default=False,
11871190
),
11881191
allow_partial_stake: Optional[bool] = typer.Option(
11891192
None,
11901193
"--allow-partial-stake/--no-allow-partial-stake",
11911194
"--partial/--no-partial",
11921195
"--allow/--not-allow",
1196+
show_default=False,
11931197
),
11941198
dashboard_path: Optional[str] = Options.dashboard_path,
11951199
):

0 commit comments

Comments
 (0)