···110110 // Should complete subcommands that start with 's' even after a boolean option
111111 expect(output).toContain('start');
112112 });
113113+114114+ it('should not interfere with option completion after boolean options', async () => {
115115+ const command = `${commandPrefix} dev --verbose --h`;
116116+ const output = await runCommand(command);
117117+ // Should complete subcommands that start with 's' even after a boolean option
118118+ expect(output).toContain('--host');
119119+ });
113120 });
114121115122 describe.runIf(!shouldSkipTest)('option API overload tests', () => {