Doctrine 2 - ORM
  1. Doctrine 2 - ORM
  2. DDC-508

CLI help arguments are super confusing, vague, and outright wrong

    Details

    • Type: Bug Bug
    • Status: Resolved
    • Priority: Minor Minor
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 2.0-BETA1
    • Component/s: Tools
    • Security Level: All
    • Labels:
      None

      Description

      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?

        Activity

        Hide
        Benjamin Eberlei added a comment -

        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.

        Show
        Benjamin Eberlei added a comment - 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.
        Hide
        David Abdemoulaie added a comment -

        Great, this helps a lot.

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

        Show
        David Abdemoulaie added a comment - Great, this helps a lot. However, -h still does not work, it seems to be ignored. --help however does work.
        Hide
        Benjamin Eberlei added a comment -

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

        Show
        Benjamin Eberlei added a comment - This is also a symfony console bug, please post it upstream

          People

          • Assignee:
            Benjamin Eberlei
            Reporter:
            David Abdemoulaie
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: