[gatein-issues] [JBoss JIRA] (GTNMGMT-31) "File name" param of export/import command is marked as optional but is mandatory
Nick Scavelli (Commented) (JIRA)
jira-events at lists.jboss.org
Tue Nov 8 13:53:45 EST 2011
[ https://issues.jboss.org/browse/GTNMGMT-31?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12641177#comment-12641177 ]
Nick Scavelli commented on GTNMGMT-31:
--------------------------------------
Unfortunately this is how CRaSH handles required options. I have created two JIRA's in CRaSH, one for displaying which options and arguments are required and the other to not throw an exception up the chain for excluded required options/arguments.
* https://jira.exoplatform.org/browse/CRASH-55
* https://jira.exoplatform.org/browse/CRASH-56
> "File name" param of export/import command is marked as optional but is mandatory
> ---------------------------------------------------------------------------------
>
> Key: GTNMGMT-31
> URL: https://issues.jboss.org/browse/GTNMGMT-31
> Project: GateIn Management
> Issue Type: Bug
> Security Level: Public(Everyone can see)
> Components: cli
> Affects Versions: 1.0.0-Beta05
> Reporter: Tomas Kyjovsky
> Assignee: Nick Scavelli
> Priority: Minor
>
> [mop]% export --help
> usage: export [-h | --help] [-f | --file] [-r | --filter] path
> [-h | --help] command usage
> [-f | --file] File name
> [-r | --filter] Specifies the value of the filter to use during an export for example.
> path
> [mop]% export .
> Unexpected exception: Non satisfied parameter OptionDescriptor[[f, file]]
> ----
> The exception also occurs if -f parameter is provided in wrong order.
> [mop]% export . -f /tmp/mop.zip
> Unexpected exception: Non satisfied parameter OptionDescriptor[[f, file]]
> ----
> This way it works fine:
> [mop]% export -f /tmp/mop.zip .
> Export complete ! File location: /tmp/mop.zip
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.jboss.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira
More information about the gatein-issues
mailing list