Incorrect options for the audit:delete command
----------------------------------------------

                 Key: SMX4NMR-234
                 URL: https://issues.apache.org/activemq/browse/SMX4NMR-234
             Project: ServiceMix NMR
          Issue Type: Bug
    Affects Versions: 1.3.0
            Reporter: Albert Tumanov
            Assignee: Guillaume Nodet


org.apache.servicemix.nmr.audit.commands.DeleteCommand:

The "help" message is "One of [--index, --id, --all] option must be specified".
But actually in the code both --index and --id are required:

    @Option(name = "--index", required = true)
    @Option(name = "--id", required = true)

So that those commands do not work:

audit:delete --all
audit:delete --index 0

 Also, the description text is incorrect:
 
 @Command(scope = "audit", name = "delete", description = "Display exchanges.")

it should be "Delete exchanges."

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to