diff --git a/src/dstack/_internal/cli/commands/attach.py b/src/dstack/_internal/cli/commands/attach.py index 5318e5502..2659cee71 100644 --- a/src/dstack/_internal/cli/commands/attach.py +++ b/src/dstack/_internal/cli/commands/attach.py @@ -46,7 +46,7 @@ def _register(self): ) self._parser.add_argument( "--replica", - help="The relica number. Defaults to 0.", + help="The replica number. Defaults to 0.", type=int, default=0, )