apple/container

[Bug]: "Error: Unknown option '--debug'. Did you mean '--debug'?"

Open

#360 ouverte le 21 juil. 2025

Voir sur GitHub
 (15 commentaires) (2 réactions) (1 assigné)Swift (752 forks)batch import
help wantedux

Métriques du dépôt

Stars
 (26 498 stars)
Métriques de merge PR
 (Merge moyen 3j 12h) (70 PRs mergées en 30 j)

Description

I have done the following

  • I have searched the existing issues
  • If possible, I've reproduced the issue using the 'main' branch of this project

Steps to reproduce

container run --debug ghcr.io/styrainc/regal:0.35.1

Current behavior

Error: Unknown option '--debug'. Did you mean '--debug'?
Usage: container run [<options>] <image> [<arguments> ...]
  See 'container run --help' for more information.

Expected behavior

container run --help tells me that the run command has a --debug flag. Trying to use that however gives me the error message in the issue title. It's a rather amusing error message, mind you! But I doubt that's intended.

If I do something like --debug=foo I'll get Error: The option '--debug' does not take any value, but 'foo' was specified. so evidently the --debug flag is recognized, it just doesn't seem to work when only provided as --debug.

My expectation would be that --debug works, or that the error message explains why it's not.

Environment

- OS: 15.5
- Xcode: 
- Container: 0.2.0

Relevant log output

Code of Conduct

  • I agree to follow this project's Code of Conduct

Guide contributeur