SHl-22 limit history size, remove dead code
This commit is contained in:
@@ -88,7 +88,7 @@
|
||||
<id>spring-maven-snapshot</id>
|
||||
<snapshots>
|
||||
<enabled>true</enabled>
|
||||
<updatePolicy>always</updatePolicy>
|
||||
<!-- <updatePolicy>always</updatePolicy> -->
|
||||
</snapshots>
|
||||
<name>Springframework Maven SNAPSHOT Repository</name>
|
||||
<url>http://maven.springframework.org/snapshot</url>
|
||||
|
||||
@@ -17,7 +17,9 @@ public class HelloWorldCommands implements CommandMarker {
|
||||
|
||||
@CliCommand(value = "hw echo", help = "Print a hello world message")
|
||||
public void config(
|
||||
@CliOption(key = { "message" }, mandatory = true, help = "The hello world message") final String message) {
|
||||
System.out.println("Hello world " + message);
|
||||
@CliOption(key = { "message" }, mandatory = true, help = "The hello world message") final String message,
|
||||
@CliOption(key = { "name" }, mandatory = true, help = "The hello world name ") final String name,
|
||||
@CliOption(key = { "time" }, mandatory = false, help = "The hello world time ") final String time) {
|
||||
System.out.println("Hello world " + message + "," + name + ". time:" + time);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user