Skip to content
This repository was archived by the owner on May 14, 2025. It is now read-only.

Commit 94bd189

Browse files
committed
Fix project-catalog remove/add descriptions
- Fixes #195
1 parent cbb8a98 commit 94bd189

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/main/java/org/springframework/cli/command/ProjectCatalogCommands.java

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright 2022-2023 the original author or authors.
2+
* Copyright 2022-2024 the original author or authors.
33
*
44
* Licensed under the Apache License, Version 2.0 (the "License");
55
* you may not use this file except in compliance with the License.
@@ -149,7 +149,7 @@ public Object catalogList(
149149
return tableBuilder.addFullBorder(BorderStyle.fancy_light).build();
150150
}
151151

152-
@Command(command = "add", description = "Add a project to a project catalog")
152+
@Command(command = "add", description = "Add a project catalog")
153153
public void catalogAdd(@Option(description = "Catalog name", required = true) String name,
154154
@Option(description = "Catalog url", required = true) String url,
155155
@Option(description = "Catalog description") String description,
@@ -189,7 +189,7 @@ public void catalogAdd(@Option(description = "Catalog name", required = true) St
189189
}
190190
}
191191

192-
@Command(command = "remove", description = "Remove a project from a project catalog")
192+
@Command(command = "remove", description = "Remove a project catalog")
193193
public void catalogRemove(@Option(description = "Catalog name", required = true) String name) {
194194
List<ProjectCatalog> originalProjectCatalogs = springCliUserConfig.getProjectCatalogs().getProjectCatalogs();
195195
List<ProjectCatalog> updatedProjectCatalogs = originalProjectCatalogs.stream()

0 commit comments

Comments
 (0)