-
Notifications
You must be signed in to change notification settings - Fork 1.1k
Open
Labels
Description
Problem
During normal Copilot CLI agent sessions, the following error appears repeatedly in the terminal output:
error: unknown option '--no-warnings'
Try 'copilot --help' for more information.
error: unknown option '--no-warnings'
Try 'copilot --help' for more information.
error: unknown option '--no-warnings'
Try 'copilot --help' for more information.
error: unknown option '--no-warnings'
These appear unprompted — the user is not passing --no-warnings directly. Something internal to the CLI or its agent/task spawning infrastructure is passing this flag and it's not being recognized.
Expected Behavior
No error output. If --no-warnings is being passed internally (e.g., to suppress Node.js warnings), it should either:
- Be passed to the correct target (e.g.,
NODE_OPTIONS=--no-warningsfor Node.js), or - Be handled silently if the flag isn't supported
Environment
- OS: Windows 11
- Copilot CLI version: 0.0.407-1
- Occurs during agent task spawning (background mode with
tasktool) - Appears multiple times per session, seemingly once per sub-agent spawn
Reactions are currently unavailable