Skip to content

Commit

Permalink
Merge pull request #21 from ballerina-platform/update-help-command
Browse files Browse the repository at this point in the history
Fix requiring `input` when `help` command is provided
  • Loading branch information
dilanSachi authored May 17, 2023
2 parents c99aa25 + 3c7293e commit 1af2c22
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 2 deletions.
7 changes: 7 additions & 0 deletions changelog.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,5 +5,12 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).

## [Unreleased]

### Fixed

- [Fix required input error when `help` command is provided](https://github.com/ballerina-platform/ballerina-standard-library/issues/4446)

## [0.1.0] - 2023-02-24

### Added
- [Implement protobuf stub generation through protoc-tools](https://github.com/ballerina-platform/ballerina-standard-library/issues/3019)
2 changes: 1 addition & 1 deletion gradle.properties
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
org.gradle.caching=true
group=io.ballerina
version=0.1.0-SNAPSHOT
version=0.1.1-SNAPSHOT
#dependency versions
ballerinaLangVersion=2201.5.0-20230404-105200-b8aec90e
checkstylePluginVersion=8.18
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ public class GrpcCmd implements BLauncherCmd {

private CommandLine parentCmdParser;

@CommandLine.Option(names = {"-h", "--help"}, hidden = true)
@CommandLine.Option(names = {"-h", "--help"}, hidden = true, usageHelp = true)
private boolean helpFlag;

@CommandLine.Option(names = {"--input"}, description = "Input .proto file or a directory containing " +
Expand Down

0 comments on commit 1af2c22

Please sign in to comment.