Uploaded image for project: 'Forge'
  1. Forge
  2. FORGE-1505 Perform a review of Forge 2.CR
  3. FORGE-1485

Rename --target for faces-new-validator-method command

XMLWordPrintable

    • Icon: Sub-task Sub-task
    • Resolution: Done
    • Icon: Major Major
    • 2.0.0.Final
    • 2.0.0.CR2
    • UI - Shell
    • None

      The faces-new-validator-method has a --target parameter but without TAB completion, we don't know what this actually targets. When we hit TAB we get :

      [Language.java]$ faces-new-validator-method --target
      Author.java  Item.java  Language.java  Publisher.java
      

      Most of the target parameters are suffixed to be more explicit :

      entities-from-tables --targetPackage
      faces-new-converter --targetPackage
      project-new --targetLocation
      

      So I would rename it targetClass :

      faces-new-validator-method --targetClass
      

              rhn-support-ggastald George Gastaldi
              agoncal Antonio Goncalves (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved: