[jira] [Created] (OFBIZ-5872) Inconsistencies related to the "java -jar ofbiz.jar" commands when used with arguments

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

[jira] [Created] (OFBIZ-5872) Inconsistencies related to the "java -jar ofbiz.jar" commands when used with arguments

Nicolas Malin (Jira)
Jacques Le Roux created OFBIZ-5872:
--------------------------------------

             Summary: Inconsistencies related to the "java -jar ofbiz.jar" commands when used with arguments
                 Key: OFBIZ-5872
                 URL: https://issues.apache.org/jira/browse/OFBIZ-5872
             Project: OFBiz
          Issue Type: Improvement
          Components: framework
    Affects Versions: Trunk
            Reporter: Jacques Le Roux
            Priority: Trivial


The help gives you:

c:\projectsASF\ofbiz>java -jar ofbiz.jar -help

Usage: java -jar ofbiz.jar [command] [arguments]
-both    -----> Run simultaneously the POS (Point of Sales) application and OFBiz standard
-help, -? ----> This screen
-install -----> Run install (create tables/load data)
-pos     -----> Run the POS (Point of Sales) application
-setup -------> Run external application server setup
-start -------> Start the server
-status ------> Status of the server
-shutdown ----> Shutdown the server
-test --------> Run the JUnit test script
[no config] --> Use default config
[no command] -> Start the server w/ default config

But actually only the -help, -status and -shutdown command need a dash.

For now we decided to change the documentation generated by the help command to remove dashes when they are not needed.

To change
-install -----> Run install (create tables/load data)
by
-load-data -----> Create tables/load data

To comment out the
-setup -------> Run external application server setup
line

More to come, see this thread: http://markmail.org/message/i36uc4zkuglmdfcd

When done, we will try to have things consisent and re-add the missing dashes to the commands and in the help. Then the "Technical production setup guide" should be updated, pfew...



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)