From 71cf472116f584f738cd0bed2934146b9ad90deb Mon Sep 17 00:00:00 2001 From: Ruslan Molchanov Date: Thu, 13 Sep 2018 15:09:18 +0300 Subject: [PATCH 1/2] Remove duplicate -l option for init command See gh-14460 --- .../org/springframework/boot/cli/command/init/InitCommand.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/spring-boot-project/spring-boot-cli/src/main/java/org/springframework/boot/cli/command/init/InitCommand.java b/spring-boot-project/spring-boot-cli/src/main/java/org/springframework/boot/cli/command/init/InitCommand.java index f831a77151..d650c0e7c9 100644 --- a/spring-boot-project/spring-boot-cli/src/main/java/org/springframework/boot/cli/command/init/InitCommand.java +++ b/spring-boot-project/spring-boot-cli/src/main/java/org/springframework/boot/cli/command/init/InitCommand.java @@ -127,7 +127,7 @@ public class InitCommand extends OptionParsingCommand { this.target = option(Arrays.asList("target"), "URL of the service to use") .withRequiredArg() .defaultsTo(ProjectGenerationRequest.DEFAULT_SERVICE_URL); - this.listCapabilities = option(Arrays.asList("list", "l"), + this.listCapabilities = option(Arrays.asList("list"), "List the capabilities of the service. Use it to discover the " + "dependencies and the types that are available"); projectGenerationOptions(); From 6e6c22c0ae121e77b95ce28c9f927d465b8d7967 Mon Sep 17 00:00:00 2001 From: Stephane Nicoll Date: Tue, 9 Oct 2018 15:54:23 +0200 Subject: [PATCH 2/2] Polish "Remove duplicate -l option for init command" Closes gh-1446 --- .../org/springframework/boot/cli/command/init/InitCommand.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/spring-boot-project/spring-boot-cli/src/main/java/org/springframework/boot/cli/command/init/InitCommand.java b/spring-boot-project/spring-boot-cli/src/main/java/org/springframework/boot/cli/command/init/InitCommand.java index d650c0e7c9..11d5ac500c 100644 --- a/spring-boot-project/spring-boot-cli/src/main/java/org/springframework/boot/cli/command/init/InitCommand.java +++ b/spring-boot-project/spring-boot-cli/src/main/java/org/springframework/boot/cli/command/init/InitCommand.java @@ -1,5 +1,5 @@ /* - * Copyright 2012-2017 the original author or authors. + * Copyright 2012-2018 the original author or authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License.