LahiruJayasekara opened a new pull request #173: GORA-456: No help when 
GoraCompilerCli is invoked without parameters
URL: https://github.com/apache/gora/pull/173
 
 
   This PR updates the cli output for --help and output when no arguments 
specified for `goracompiler`.
   
   **Current output** - 
   ```
   mlpj@mlpj-Inspiron-3543:~/Documents/gora$ bin/gora goracompiler --help
   INFO  cli.GoraCompilerCLI            - Usage: gora-compiler ( -h | --help ) 
| (<input> [<input>...] <output> [-license <id>])
   ERROR cli.GoraCompilerCLI            - License header options include;
                     ASLv2   (Apache Software License v2.0) 
                     AGPLv3  (GNU Affero General Public License) 
                     CDDLv1  (Common Development and Distribution License v1.0) 
                     FDLv13  (GNU Free Documentation License v1.3) 
                     GPLv1   (GNU General Public License v1.0) 
                     GPLv2   (GNU General Public License v2.0) 
                     GPLv3   (GNU General Public License v3.0) 
                     LGPLv21 (GNU Lesser General Public License v2.1) 
                     LGPLv3  (GNU Lesser General Public License v2.1)
   
   ```
   
   **New output** -
   ```
   mlpj@mlpj-Inspiron-3543:~/Documents/gora$ bin/gora goracompiler --help
   INFO  cli.GoraCompilerCLI            - Usage: GoraCompiler <schema file> 
<output dir> [-license <id>]
      <schema file>     - individual avsc file to be compiled or a directory 
path containing avsc files
      <output dir>      - output directory for generated Java files
      [-license <id>]   - the preferred license header to add to the generated 
Java file.
   Current License header options include;
                     ASLv2   (Apache Software License v2.0) 
                     AGPLv3  (GNU Affero General Public License) 
                     CDDLv1  (Common Development and Distribution License v1.0) 
                     FDLv13  (GNU Free Documentation License v1.3) 
                     GPLv1   (GNU General Public License v1.0) 
                     GPLv2   (GNU General Public License v2.0) 
                     GPLv3   (GNU General Public License v3.0) 
                     LGPLv21 (GNU Lesser General Public License v2.1) 
                     LGPLv3  (GNU Lesser General Public License v2.1)
   ```
   

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


With regards,
Apache Git Services

Reply via email to