Clean up names of commands Remove the hyphen, this is horrible to read in the web UI. Rename "Repo Download" to "repo", matching the old style used before these were ejected to a plugin. Change-Id: I1a4a02b0ab39e8249f3d3dc3d42b88fe893a93f4
diff --git a/src/main/java/com/googlesource/gerrit/plugins/download/command/DownloadCommandsModule.java b/src/main/java/com/googlesource/gerrit/plugins/download/command/DownloadCommandsModule.java index f6dea28..22ca5d3 100644 --- a/src/main/java/com/googlesource/gerrit/plugins/download/command/DownloadCommandsModule.java +++ b/src/main/java/com/googlesource/gerrit/plugins/download/command/DownloadCommandsModule.java
@@ -26,11 +26,11 @@ .to(CheckoutCommand.class); bind(DownloadCommand.class) - .annotatedWith(Exports.named("Cherry-Pick")) + .annotatedWith(Exports.named("Cherry Pick")) .to(CherryPickCommand.class); bind(DownloadCommand.class) - .annotatedWith(Exports.named("Format-Patch")) + .annotatedWith(Exports.named("Format Patch")) .to(FormatPatchCommand.class); bind(DownloadCommand.class) @@ -38,7 +38,7 @@ .to(PullCommand.class); bind(DownloadCommand.class) - .annotatedWith(Exports.named("Repo-Download")) + .annotatedWith(Exports.named("repo")) .to(RepoCommand.class); } }