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(); }