Skip to content

Commit

Permalink
Change ballerina reference to bal
Browse files Browse the repository at this point in the history
  • Loading branch information
keizer619 committed Jan 26, 2021
1 parent f58b1b4 commit b8dd010
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions src/main/java/org/ballerinalang/command/util/ErrorUtil.java
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}

Expand Down
2 changes: 1 addition & 1 deletion src/main/java/org/ballerinalang/command/util/ToolUtil.java
Original file line number Diff line number Diff line change
Expand Up @@ -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();
}
Expand Down

0 comments on commit b8dd010

Please sign in to comment.