Rename @CommandMetaData(descr) to description
In e51c428fe5
the metadata was
introduced using the attribute "descr". We do not usually permit
abbreviations in APIs, and especially should not have accepted it
for an API plugins can use.
Mark descr as deprecated so current plugins can migrate. Use
description if available, and fall back to descr for older code.
Change-Id: I662482cd228f81bf1537062b9fe03b6c23354a78
This commit is contained in:

committed by
David Pursehouse

parent
be2d53e50b
commit
5b70c223ba
@@ -37,7 +37,7 @@ import org.kohsuke.args4j.Option;
|
||||
|
||||
import java.io.PrintWriter;
|
||||
|
||||
@CommandMetaData(name = "ls-groups", descr = "List groups visible to the caller")
|
||||
@CommandMetaData(name = "ls-groups", description = "List groups visible to the caller")
|
||||
public class ListGroupsCommand extends BaseCommand {
|
||||
@Inject
|
||||
private MyListGroups impl;
|
||||
|
Reference in New Issue
Block a user