[gatein-issues] [JBoss JIRA] (GTNMGMT-31) "File name" param of export/import command is marked as optional but is mandatory

Tomas Kyjovsky (Created) (JIRA) jira-events at lists.jboss.org
Tue Nov 8 09:13:45 EST 2011


"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