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

Closed
doctrinebot opened this Issue Apr 10, 2010 · 4 comments

2 participants

@doctrinebot

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?

@doctrinebot

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

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

Comment created by @beberlei:

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

@doctrinebot

Issue was closed with resolution "Fixed"

@beberlei beberlei was assigned by doctrinebot Dec 6, 2015
@doctrinebot doctrinebot added this to the 2.0-BETA1 milestone Dec 6, 2015
@doctrinebot doctrinebot closed this Dec 6, 2015
@doctrinebot doctrinebot added the Bug label Dec 7, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment