[BUG] /install-github-app uses invalid flag `gh auth status -a`
Resolved 💬 3 comments Opened Dec 30, 2025 by ortiz-ray Closed Feb 15, 2026
Preflight Checklist
- [x] I have searched existing issues and this hasn't been reported yet
- [x] This is a single bug report (please file separate reports for different bugs)
- [x] I am using the latest version of Claude Code
What's Wrong?
Description
The /install-github-app command fails with an invalid flag error when checking GitHub CLI authentication status.
<img width="509" height="449" alt="Image" src="https://github.com/user-attachments/assets/1b1fcd36-14a0-4e8f-8817-be35050414a9" />
## Environment
- OS: Linux
- gh version: (run
gh --versionto check)
## Suggested Fix
Replace gh auth status -a with gh auth status (no flags) or use a valid flag combination.
What Should Happen?
Expected Behavior
The command should use valid gh auth status flags. According to gh auth status --help, only these flags exist:
-h, --hostname- Check a specific hostname's auth status-t, --show-token- Display the auth token
Error Messages/Logs
## Error
unknown shorthand flag: 'a' in -a
Usage: gh auth status [flags]
Steps to Reproduce
Steps to Reproduce
- Run
/install-github-appin Claude Code
Claude Model
Opus
Is this a regression?
I don't know
Last Working Version
_No response_
Claude Code Version
2.0.76
Platform
Anthropic API
Operating System
Ubuntu/Debian Linux
Terminal/Shell
VS Code integrated terminal
Additional Information
_No response_
This issue has 3 comments on GitHub. Read the full discussion on GitHub ↗