From 2bd48fc428821dd96e21f7c842616fa67f6fb660 Mon Sep 17 00:00:00 2001 From: Charuka Tharindu Date: Thu, 13 Jan 2022 07:59:09 +0530 Subject: [PATCH] Update pre-release flag --- src/main/java/org/ballerinalang/command/cmd/ListCommand.java | 2 +- src/main/resources/cli-help/ballerina-dist-list.help | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/main/java/org/ballerinalang/command/cmd/ListCommand.java b/src/main/java/org/ballerinalang/command/cmd/ListCommand.java index 6f4e4d85..b6d637e0 100644 --- a/src/main/java/org/ballerinalang/command/cmd/ListCommand.java +++ b/src/main/java/org/ballerinalang/command/cmd/ListCommand.java @@ -54,7 +54,7 @@ public class ListCommand extends Command implements BCommand { @CommandLine.Option(names = {"--all", "-a"}, hidden = true) private boolean allFlag; - @CommandLine.Option(names = {"--pre-releases", "-pr"}, hidden = true) + @CommandLine.Option(names = {"--pre-releases", "-p"}, hidden = true) private boolean prFlag; private CommandLine parentCmdParser; diff --git a/src/main/resources/cli-help/ballerina-dist-list.help b/src/main/resources/cli-help/ballerina-dist-list.help index 1d994df9..fe049708 100644 --- a/src/main/resources/cli-help/ballerina-dist-list.help +++ b/src/main/resources/cli-help/ballerina-dist-list.help @@ -5,7 +5,7 @@ SYNOPSIS bal dist list OPTIONS - -pr, --pre-releases + -p, --pre-releases List the distributions that are available for you to download under the pre-releases channel. -a, --all