We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 296db93 commit 2e318adCopy full SHA for 2e318ad
spring-shell-core/src/main/java/org/springframework/shell/Command.java
@@ -46,9 +46,9 @@ public Help(String description) {
46
}
47
48
public Help(String description, String group) {
49
- Assert.isTrue(StringUtils.hasText(description), "Command description cannot be null or empty");
50
- this.description = description;
51
this.group = StringUtils.hasText(group) ? group : "";
+ Assert.isTrue(StringUtils.hasText(description), "Command description cannot be null or empty group='" + this.group + "'");
+ this.description = description;
52
53
54
public String getDescription() {
0 commit comments