Skip to content

Commit 2184389

Browse files
committed
fix(cli): Windows managed install --dry-run states dry-run mode
The Windows managed-install path (cli_windows_managed_install_activate) printed its plan as "Would install managed launcher -> ..." but never the words "dry-run", unlike the POSIX path's "(dry-run — no files were modified)" - so `install --dry-run` did not clearly indicate dry-run mode (smoke Phase 6a, confirmed by echoing the captured output). Append the same dry-run indicator to the Windows plan line. Signed-off-by: Martin Vogel <martin.vogel.tech@gmail.com>
1 parent 8b4e0fb commit 2184389

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

‎src/cli/cli.c‎

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9658,7 +9658,8 @@ static int cli_windows_managed_install_activate(void *opaque) {
96589658
}
96599659
int activation_status = CLI_OK;
96609660
if (activation->dry_run) {
9661-
printf("Would install managed launcher -> %s\n\n", activation->bin_target);
9661+
printf("Would install managed launcher -> %s\n(dry-run — no files were modified)\n\n",
9662+
activation->bin_target);
96629663
} else {
96639664
bool generation_created = false;
96649665
bool launcher_committed = false;

0 commit comments

Comments
 (0)