Repository navigation
Commit 0f08058
committed
fix(cli): t3 up's retry and restart hints keep --base-dir
`t3 up --base-dir <dir>` sets up the service for that T3 home, and since
#29684 its pairing hint carries the flag. Two other hints it prints still
named the bare command: after a failed service update it said to run
`t3 up` again, and after a declined restart it said to run
`t3 service restart`. Both run against the default home, not the one being
set up: the bare retry sets up the default home, and the bare restart
finds no service there and restarts nothing.
Both hints now resolve through resolveHostCliCommand with the same
--base-dir arguments as the pairing hint.
Bug: t3 up's retry and restart hints drop --base-dir1 parent 7057e65 commit 0f08058
1 file changed
Lines changed: 4 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
367 | 367 | | |
368 | 368 | | |
369 | 369 | | |
| 370 | + | |
370 | 371 | | |
371 | | - | |
| 372 | + | |
372 | 373 | | |
373 | 374 | | |
374 | 375 | | |
| |||
387 | 388 | | |
388 | 389 | | |
389 | 390 | | |
390 | | - | |
| 391 | + | |
| 392 | + | |
391 | 393 | | |
392 | 394 | | |
393 | 395 | | |
| |||
0 commit comments