You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@groovy.apache.org by "Paul King (JIRA)" <ji...@apache.org> on 2017/05/02 02:03:08 UTC
[jira] [Closed] (GROOVY-6027) groovy -h could be more clear
[ https://issues.apache.org/jira/browse/GROOVY-6027?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Paul King closed GROOVY-6027.
-----------------------------
> groovy -h could be more clear
> -----------------------------
>
> Key: GROOVY-6027
> URL: https://issues.apache.org/jira/browse/GROOVY-6027
> Project: Groovy
> Issue Type: Improvement
> Components: command line processing
> Reporter: Andrew Eisenberg
> Assignee: Paul King
> Priority: Trivial
> Fix For: 2.5.0-alpha-1
>
>
> Currently, {{groovy -h}} prints this:
> {code}
> $ groovy -h
> usage: groovy [options] [args]
> options:
> -a,--autosplit <splitPattern> split lines using splitPattern (default '\s')
> using implicit 'split' variable
> -c,--encoding <charset> specify the encoding of the files
> -classpath <path> Specify where to find the class files - must
> be first argument
> -cp,--classpath <path> Aliases for '-classpath'
> -D,--define <name=value> define a system property
> -d,--debug debug mode will print out full stack traces
> --disableopt <optlist> disables one or all optimization elements.
> optlist can be a comma separated list with
> the elements: all (disables all
> optimizations), int (disable any int based
> optimizations)
> -e <script> specify a command line script
> -h,--help usage information
> -i <extension> modify files in place; create backup if
> extension is given (e.g. '.bak')
> --indy enables compilation using invokedynamic
> -l <port> listen on a port and process inbound lines
> (default: 1960)
> -n process files line by line using implicit
> 'line' variable
> -p process files line by line and print result
> (see also -n)
> -v,--version display the Groovy and JVM versions
> {code}
> Typically, under the usage line there is a one sentence description of what the command does (see commands like svn --help and tar --help.
> Second, you could change {{usage: groovy [options] [args]}} to {{usage: groovy [options] [filename]}}.
--
This message was sent by Atlassian JIRA
(v6.3.15#6346)