From 4c9a7fe9c0030534b24903608ccf9b8ec47dd542 Mon Sep 17 00:00:00 2001 From: tahsinhasem Date: Thu, 4 Apr 2024 15:20:16 +0800 Subject: [PATCH] Make "Supported Themes:" appear on new line when message fails. --- src/main/java/scm/address/logic/commands/ThemeCommand.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/main/java/scm/address/logic/commands/ThemeCommand.java b/src/main/java/scm/address/logic/commands/ThemeCommand.java index 562360ae3ea..fb79d66bb9d 100644 --- a/src/main/java/scm/address/logic/commands/ThemeCommand.java +++ b/src/main/java/scm/address/logic/commands/ThemeCommand.java @@ -15,8 +15,8 @@ public class ThemeCommand extends Command{ public static final String MESSAGE_USAGE = COMMAND_WORD + ": Changes the theme of the application.\n" + "Parameters: " + "THEME\n" - + "Example: " + COMMAND_WORD + " light" - + "Suppported themes: light, dark"; + + "Example: " + COMMAND_WORD + " light\n" + + "Supported themes: light, dark"; public static final String MESSAGE_INVALID_THEME = "Invalid theme value"; private final String themeName;