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

Severine Tymon updated HAWQ-904:
--------------------------------
    Priority: Minor  (was: Major)

> CLI help output for hawq config is different depending on which help option 
> is used
> -----------------------------------------------------------------------------------
>
>                 Key: HAWQ-904
>                 URL: https://issues.apache.org/jira/browse/HAWQ-904
>             Project: Apache HAWQ
>          Issue Type: Bug
>          Components: Command Line Tools
>            Reporter: Severine Tymon
>            Assignee: Lei Chang
>            Priority: Minor
>
> hawq config and hawq config --help output the following:
> [gpadmin@centos7-namenode hawq]$ hawq --version
> HAWQ version 2.0.1.0 build dev
> [gpadmin@centos7-namenode hawq]$ hawq config
> usage: hawq config [--options]
> The "options" are:
>    -c --change         Changes a configuration parameter setting.
>    -s --show           Shows the value for a specified configuration 
> parameter.
>    -l --list           Lists all configuration parameters.
>    -q --quiet          Run in quiet mode.
>    -v --verbose        Displays detailed status.
>    -r --remove         HAWQ GUC name to be removed.
>    --skipvalidation    Skip the system validation checks.
>    --ignore-bad-hosts  Skips copying configuration files on host on which SSH 
> fails
> See 'hawq --help' for more information on other commands.
> [gpadmin@centos7-namenode hawq]$ hawq config --help
> usage: hawq config [--options]
> The "options" are:
>    -c --change         Changes a configuration parameter setting.
>    -s --show           Shows the value for a specified configuration 
> parameter.
>    -l --list           Lists all configuration parameters.
>    -q --quiet          Run in quiet mode.
>    -v --verbose        Displays detailed status.
>    -r --remove         HAWQ GUC name to be removed.
>    --skipvalidation    Skip the system validation checks.
>    --ignore-bad-hosts  Skips copying configuration files on host on which SSH 
> fails
> See 'hawq --help' for more information on other commands.
> **while hawq config -h outputs the following:
> [gpadmin@centos7-namenode hawq]$ hawq config -h
> Usage: HAWQ config options.
> Options:
>   -h, --help            show this help message and exit
>   -c CHANGE, --change=CHANGE
>                         Change HAWQ Property.
>   -r REMOVE, --remove=REMOVE
>                         Remove HAWQ Property.
>   -s SHOW, --show=SHOW  Change HAWQ Property name.
>   -l, --list            List all HAWQ Properties.
>   --skipvalidation      
>   --ignore-bad-hosts    Skips copying configuration files on host on which SSH
>                         fails
>   -q, --quiet           
>   -v PROPERTY_VALUE, --value=PROPERTY_VALUE
>                         Set HAWQ Property value.
>   -d HAWQ_HOME          HAWQ home directory.
> The latter (hawq config -h) seems more up-to-date. In particular, the first 
> output contains errors (-v should be used to supply the value of a changed 
> parameter, not switch to verbose mode.) There are some minor issues in the 
> latter output too though. `CHANGE`, `REMOVE`, and `SHOW` placeholders should 
> be replaced with <hawq_property> or HAWQ_PROPERTY



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

Reply via email to