[ 
https://issues.apache.org/jira/browse/PIG-13?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Stefan Groschupf updated PIG-13:
--------------------------------

    Attachment: PIG-13_v_1.patch

this patch add 
pig -version or pig --version or pig -i (v was already in use :( )

Results look like this:
$java -cp pig.jar org.apache.pig.Main -help

Apache Pig version 0.1.0-dev (r631875) 
compiled Feb 27 2008, 23:55:58

USAGE: Pig [options] [-] : Run interactively in grunt shell.
       Pig [options] -e[xecute] cmd [cmd ...] : Run cmd(s).
       Pig [options] [-f[ile]] file : Run cmds found in file.
  options include:
    -4, -log4jconf log4j configuration file, overrides log conf
    -b, -brief brief logging (no timestamps)
    -c, -cluster clustername, kryptonite is default
    -d, -debug debug level, INFO is default
    -h, -help display this message
    -j, -jar jarfile load jarfile
    -o, -hod read hod server from system property ssh.gateway
    -v, -verbose print all log messages to screen (default to print only INFO 
and above to screen)
    -x, -exectype local|mapreduce, mapreduce is default
    -i, -version display version information

OR

$  java -cp pig.jar org.apache.pig.Main -version
Apache Pig version 0.1.0-dev (r631875) 
compiled Feb 27 2008, 23:55:58




> need a way to find out what version of pig i'm using
> ----------------------------------------------------
>
>                 Key: PIG-13
>                 URL: https://issues.apache.org/jira/browse/PIG-13
>             Project: Pig
>          Issue Type: Improvement
>          Components: grunt
>            Reporter: Olga Natkovich
>            Priority: Minor
>         Attachments: PIG-13_v_1.patch
>
>
> would be great if "pig -version" told me what version.
> also, the text prior to "USAGE: ..." could also print the version.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to