You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@servicemix.apache.org by "Guillaume Nodet (JIRA)" <ji...@apache.org> on 2017/06/26 15:23:01 UTC
[jira] [Assigned] (SMX4NMR-234) Incorrect options for the
audit:delete command
[ https://issues.apache.org/jira/browse/SMX4NMR-234?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Guillaume Nodet reassigned SMX4NMR-234:
---------------------------------------
Assignee: (was: Guillaume Nodet)
> Incorrect options for the audit:delete command
> ----------------------------------------------
>
> Key: SMX4NMR-234
> URL: https://issues.apache.org/jira/browse/SMX4NMR-234
> Project: ServiceMix NMR
> Issue Type: Bug
> Affects Versions: 1.3.0
> Reporter: Albert Tumanov
> Attachments: patch.txt
>
>
> 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 was sent by Atlassian JIRA
(v6.4.14#64029)