Skip to content

Commit

Permalink
Merge pull request #77 from keizer619/master
Browse files Browse the repository at this point in the history
Change ballerina reference to bal
  • Loading branch information
keizer619 authored Jan 26, 2021
2 parents f58b1b4 + b8dd010 commit 82a46f7
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 82a46f7

Please sign in to comment.