From 6b6bd37924b6bb1a64a562d1340cacc62bcdcf84 Mon Sep 17 00:00:00 2001 From: Dave Syer Date: Tue, 14 Jan 2014 17:43:50 +0000 Subject: [PATCH] Add hint to user about 'stop' command Improves gh-218 --- .../java/org/springframework/boot/cli/command/RunCommand.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/spring-boot-cli/src/main/java/org/springframework/boot/cli/command/RunCommand.java b/spring-boot-cli/src/main/java/org/springframework/boot/cli/command/RunCommand.java index c83efb84e5..d99b9edb6e 100644 --- a/spring-boot-cli/src/main/java/org/springframework/boot/cli/command/RunCommand.java +++ b/spring-boot-cli/src/main/java/org/springframework/boot/cli/command/RunCommand.java @@ -92,7 +92,7 @@ public class RunCommand extends OptionParsingCommand { if (this.runner != null) { throw new RuntimeException( - "Already running. Please stop the current application before running another."); + "Already running. Please stop the current application before running another (use the 'stop' command)."); } SourceOptions sourceOptions = new SourceOptions(options);