[BUG] claude command assums --print was used when it's not

Resolved 💬 3 comments Opened Aug 29, 2025 by bendavis78 Closed Sep 2, 2025

Environment

  • Claude CLI version: 1.0.96 (Claude Code)
  • Operating System: Arch Linux
  • Terminal: Ghostty

Bug Description

I'd like to use 1password to handle secrets instead of keeping them in my MCP config. Typically with 1password you run op run -- <cmd> to run a command in such a way that translates env vars from OP paths to values. The -- is pretty common in the CLI world when you want to use one command to kick off another command, so I expected Claude should handle this properly.

$ op run -- claude
Error: Input must be provided either through stdin or as a prompt argument when using --print

For some reason claude thinks I'm using --print. It should just run as normal.

View original on GitHub ↗

This issue has 3 comments on GitHub. Read the full discussion on GitHub ↗