You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@oodt.apache.org by "Brian Foster (Updated) (JIRA)" <ji...@apache.org> on 2011/11/22 00:35:40 UTC
[jira] [Updated] (OODT-354) CAS-CLI StdCmdLinePrinter doesn't print
optional sub-options for group options
[ https://issues.apache.org/jira/browse/OODT-354?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Brian Foster updated OODT-354:
------------------------------
Attachment: OODT-354.2011-11-21.patch.txt
- attached patch
- can be reviewed at: https://reviews.apache.org/r/2907/
> CAS-CLI StdCmdLinePrinter doesn't print optional sub-options for group options
> ------------------------------------------------------------------------------
>
> Key: OODT-354
> URL: https://issues.apache.org/jira/browse/OODT-354
> Project: OODT
> Issue Type: Bug
> Affects Versions: 0.3
> Environment: none
> Reporter: Brian Foster
> Assignee: Brian Foster
> Priority: Minor
> Fix For: 0.4
>
> Attachments: OODT-354.2011-11-21.patch.txt
>
>
> The following is produced for:
> $ ./filemgr-client -h SqlQuery
> {code}
> Action Help for 'SqlQuery'
> - Required:
> -u [--url] <url>
> -op [--operation]
> -sql [--sqlQuery]
> -q [--query] <query>
> - Optional:
> -f [--filter]
> -prMetKey [--priorityMetKey] <metadata-key>
> -algor [--algor] <classpath>
> -sdtMetKey [--startDateTimeMetKey] <metadata-key>
> -edtMetKey [--endDateTimeMetKey] <metadata-key>
> -of [--outputFormat] <output-format-string>
> -sb [--sortBy] <metadata field>
> -dlmtr [--delimiter] <delimiter-string>
> {code}
> However converter is missing from sub-options for -f option:
> {code}
> -conv [--converter] <classpath>
> {code}
> in order to determine the difference between required/optional sub-options the output will also be changed to look like the following:
> {code}
> Action Help for 'SqlQuery'
> - Required:
> -u [--url] <url>
> -op [--operation]
> -sql [--sqlQuery] (required)
> -q [--query] <query>
> - Optional:
> -f [--filter]
> -prMetKey [--priorityMetKey] <metadata-key> (required)
> -algor [--algor] <classpath> (required)
> -sdtMetKey [--startDateTimeMetKey] <metadata-key> (required)
> -conv [--converter] <classpath> (optional)
> -edtMetKey [--endDateTimeMetKey] <metadata-key> (required)
> -of [--outputFormat] <output-format-string>
> -sb [--sortBy] <metadata field>
> -dlmtr [--delimiter] <delimiter-string>
> {code}
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira