Skip to content

Commit c01b022

Browse files
authored
[runner] Restore --home-dir option as no-op (#3480)
Fixes: #3474
1 parent 54d2d0a commit c01b022

1 file changed

Lines changed: 6 additions & 0 deletions

File tree

runner/cmd/runner/main.go

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -78,6 +78,12 @@ func mainInner() int {
7878
Usage: "dstack server or user authorized key. May be specified multiple times",
7979
Destination: &sshAuthorizedKeys,
8080
},
81+
// --home-dir is not used since 0.20.4, but the flag was retained as no-op
82+
// for compatibility with pre-0.20.4 shims; remove the flag eventually
83+
&cli.StringFlag{
84+
Name: "home-dir",
85+
Hidden: true,
86+
},
8187
},
8288
Action: func(ctx context.Context, cmd *cli.Command) error {
8389
return start(ctx, tempDir, httpPort, sshPort, sshAuthorizedKeys, logLevel, Version)

0 commit comments

Comments
 (0)