From b8dd0102884c902670932a3112436ac56171d58a Mon Sep 17 00:00:00 2001 From: Tharik Kanaka Date: Tue, 26 Jan 2021 14:58:37 +0530 Subject: [PATCH] Change ballerina reference to bal --- src/main/java/org/ballerinalang/command/util/ErrorUtil.java | 4 ++-- src/main/java/org/ballerinalang/command/util/ToolUtil.java | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/main/java/org/ballerinalang/command/util/ErrorUtil.java b/src/main/java/org/ballerinalang/command/util/ErrorUtil.java index 572dfc5b..4aec9752 100644 --- a/src/main/java/org/ballerinalang/command/util/ErrorUtil.java +++ b/src/main/java/org/ballerinalang/command/util/ErrorUtil.java @@ -38,14 +38,14 @@ public static CommandException createCommandException(String errorMsg) { public static CommandException createUsageExceptionWithHelp(String errorMsg) { CommandException launcherException = new CommandException(); launcherException.addMessage("ballerina: " + errorMsg); - launcherException.addMessage("Run 'ballerina help' for usage."); + launcherException.addMessage("Run 'bal help' for usage."); return launcherException; } public static CommandException createUsageExceptionWithHelp(String errorMsg, String subCommand) { CommandException launcherException = new CommandException(); launcherException.addMessage("ballerina: " + errorMsg); - launcherException.addMessage("Run 'ballerina help " + subCommand + "' for usage."); + launcherException.addMessage("Run 'bal help " + subCommand + "' for usage."); return launcherException; } diff --git a/src/main/java/org/ballerinalang/command/util/ToolUtil.java b/src/main/java/org/ballerinalang/command/util/ToolUtil.java index e1d583ed..fad840c6 100644 --- a/src/main/java/org/ballerinalang/command/util/ToolUtil.java +++ b/src/main/java/org/ballerinalang/command/util/ToolUtil.java @@ -422,7 +422,7 @@ public static void checkForUpdate(PrintStream printStream) { } if (!latestVersion.equals(version)) { printStream.println("A new version of Ballerina is available: " + latestVersion); - printStream.println("Use 'ballerina dist pull " + latestVersion + "' to " + + printStream.println("Use 'bal dist pull " + latestVersion + "' to " + "download and use the distribution"); printStream.println(); }