DDC-508: CLI help arguments are super confusing, vague, and outright wrong #631

Closed
opened 2026-01-22 12:45:12 +01:00 by admin · 4 comments
Owner

Originally created by @doctrinebot on GitHub (Apr 10, 2010).

Originally assigned to: @beberlei on GitHub.

Jira issue originally created by user @hobodave:

This was introduced with the move to Symfony console.

daves-macbookpro:s5 hobodave$ ./scripts/doctrine orm:schema-tool:create -h



  [RuntimeException]     
  Not enough arguments.  



orm:schema-tool:create [--from="..."] [--dump-sql] [-h](--help) [-q](--quiet) [-v](--verbose) [-V](--version) [-c](--color) [-n](--no-interaction) command from-path

Huh? What is "command", what is "from-path" and how is it different from --from?

Originally created by @doctrinebot on GitHub (Apr 10, 2010). Originally assigned to: @beberlei on GitHub. Jira issue originally created by user @hobodave: This was introduced with the move to Symfony console. ``` daves-macbookpro:s5 hobodave$ ./scripts/doctrine orm:schema-tool:create -h [RuntimeException] Not enough arguments. orm:schema-tool:create [--from="..."] [--dump-sql] [-h](--help) [-q](--quiet) [-v](--verbose) [-V](--version) [-c](--color) [-n](--no-interaction) command from-path ``` Huh? What is "command", what is "from-path" and how is it different from --from?
admin added the Bug label 2026-01-22 12:45:12 +01:00
admin closed this issue 2026-01-22 12:45:12 +01:00
Author
Owner

@doctrinebot commented on GitHub (Apr 10, 2010):

Comment created by @beberlei:

See DDC-502, from and from-path are not needed anymore.

Additionally the "command" thing is a bug of Symfony Consoles help output. Its not required.

@doctrinebot commented on GitHub (Apr 10, 2010): Comment created by @beberlei: See [DDC-502](http://www.doctrine-project.org/jira/browse/DDC-502), from and from-path are not needed anymore. Additionally the "command" thing is a bug of Symfony Consoles help output. Its not required.
Author
Owner

@doctrinebot commented on GitHub (Apr 10, 2010):

Comment created by @hobodave:

Great, this helps a lot.

However, -h still does not work, it seems to be ignored. --help however does work.

@doctrinebot commented on GitHub (Apr 10, 2010): Comment created by @hobodave: Great, this helps a lot. However, -h still does not work, it seems to be ignored. --help however does work.
Author
Owner

@doctrinebot commented on GitHub (Apr 10, 2010):

Comment created by @beberlei:

This is also a symfony console bug, please post it upstream :-)

@doctrinebot commented on GitHub (Apr 10, 2010): Comment created by @beberlei: This is also a symfony console bug, please post it upstream :-)
Author
Owner

@doctrinebot commented on GitHub (Apr 10, 2010):

Issue was closed with resolution "Fixed"

@doctrinebot commented on GitHub (Apr 10, 2010): Issue was closed with resolution "Fixed"
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: doctrine/archived-orm#631