Petals ESB CLI

The option '--file' is not recognized

Details

  • Type: Bug Bug
  • Status: Resolved Resolved
  • Priority: Minor Minor
  • Resolution: Fixed
  • Affects Version/s: 2.0.0
  • Fix Version/s: 2.1.0
  • Component/s: Command-line
  • Security Level: Public
  • Description:
    Hide

    An error occurs launching Petals CLI with the command line: ./petals-cli.sh --file filename

    cdeneux@cdeneux-laptop:~/petals-esb-distrib-4.1.0/esb/petals-cli-2.0.0/bin$ ./petals-cli.sh --file filename
    usage: Petals JMX Command Line Interface
                  
    [-d] [-h <host> -n <port> | -h <host> -n <port> -u <user> -p <password> | -a <alias>][-H
    | -V | [--file] <filename> | -c <command> | -C]
     -a,--alias <alias>         Connection alias in the preference file.
     -c,--command <command>     Execute a command given on the command line.
     -C,--console               Enable the mode 'console'.
     -d,--debug                 Print stack trace and debugging informations
        --file <filename>       Enable the script file execution. If filename is '-',
                                commands are read from the stdin.
     -H,--help                  Print this help message and exit.
     -h,--host <host>           JMX host of the remote petals ESB.
     -n,--port <port>           JMX port of the remote petals ESB.
     -p,--password <password>   JMX password of the remote petals ESB.
     -u,--user <user>           JMX user of the remote petals ESB.
     -V,--version               Print the version number and exit.
    
    Which evolution would you like on Petals? Share it! http://www.petalslink.com/feedback

    The command './petals-cli.sh filename' works fine.

    Show
    An error occurs launching Petals CLI with the command line: ./petals-cli.sh --file filename
    cdeneux@cdeneux-laptop:~/petals-esb-distrib-4.1.0/esb/petals-cli-2.0.0/bin$ ./petals-cli.sh --file filename
    usage: Petals JMX Command Line Interface
                  
    [-d] [-h <host> -n <port> | -h <host> -n <port> -u <user> -p <password> | -a <alias>][-H
    | -V | [--file] <filename> | -c <command> | -C]
     -a,--alias <alias>         Connection alias in the preference file.
     -c,--command <command>     Execute a command given on the command line.
     -C,--console               Enable the mode 'console'.
     -d,--debug                 Print stack trace and debugging informations
        --file <filename>       Enable the script file execution. If filename is '-',
                                commands are read from the stdin.
     -H,--help                  Print this help message and exit.
     -h,--host <host>           JMX host of the remote petals ESB.
     -n,--port <port>           JMX port of the remote petals ESB.
     -p,--password <password>   JMX password of the remote petals ESB.
     -u,--user <user>           JMX user of the remote petals ESB.
     -V,--version               Print the version number and exit.
    
    Which evolution would you like on Petals? Share it! http://www.petalslink.com/feedback
    The command './petals-cli.sh filename' works fine.
  • Environment:
    -

Activity

Hide
Christophe DENEUX added a comment - Wed, 12 Sep 2012 - 17:19:35 +0200

Fixed in trunk

Show
Christophe DENEUX added a comment - Wed, 12 Sep 2012 - 17:19:35 +0200 Fixed in trunk

People

Dates

  • Created:
    Wed, 12 Sep 2012 - 16:50:07 +0200
    Updated:
    Thu, 20 Sep 2012 - 17:02:09 +0200
    Resolved:
    Wed, 12 Sep 2012 - 17:19:35 +0200