Skip to content

Commit 79bcb7f

Browse files
committed
Remove --slippage alias
1 parent 14aad33 commit 79bcb7f

File tree

1 file changed

+1
-7
lines changed

1 file changed

+1
-7
lines changed

bittensor_cli/cli.py

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -277,8 +277,6 @@ def edit_help(cls, option_name: str, help_text: str):
277277
)
278278
rate_tolerance = typer.Option(
279279
None,
280-
"--slippage",
281-
"--slippage-tolerance",
282280
"--tolerance",
283281
"--rate-tolerance",
284282
help="Set the rate tolerance percentage for transactions (default: 0.05 for 5%).",
@@ -1257,8 +1255,6 @@ def set_config(
12571255
),
12581256
rate_tolerance: Optional[float] = typer.Option(
12591257
None,
1260-
"--slippage",
1261-
"--slippage-tolerance",
12621258
"--tolerance",
12631259
help="Set the rate tolerance percentage for transactions (e.g. 0.1 for 0.1%).",
12641260
),
@@ -1404,9 +1400,7 @@ def del_config(
14041400
wallet_hotkey: bool = typer.Option(False, *Options.wallet_hotkey.param_decls),
14051401
network: bool = typer.Option(False, *Options.network.param_decls),
14061402
use_cache: bool = typer.Option(False, "--cache"),
1407-
rate_tolerance: bool = typer.Option(
1408-
False, "--slippage", "--slippage-tolerance", "--tolerance"
1409-
),
1403+
rate_tolerance: bool = typer.Option(False, "--tolerance"),
14101404
safe_staking: bool = typer.Option(
14111405
False, "--safe-staking/--no-safe-staking", "--safe/--unsafe"
14121406
),

0 commit comments

Comments
 (0)