Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

bal -v -h command does not open the help window #199

Closed
NipunaMadhushan opened this issue Jan 13, 2022 · 14 comments · Fixed by #369
Closed

bal -v -h command does not open the help window #199

NipunaMadhushan opened this issue Jan 13, 2022 · 14 comments · Fixed by #369

Comments

@NipunaMadhushan
Copy link
Contributor

NipunaMadhushan commented Jan 13, 2022

Label - Less Priority

Description:
When we run the bal -v -h command on any operating system, it will simply returns the ballerina version.

Ballerina Swan Lake Beta 6
Language specification 2021R1
Update Tool 1.3.7-rc1

However when we run the ballerina version -h command, it returns help window.

Steps to reproduce:
Run the following command on any operating system.
bal -v -h

Affected Versions:
All the versions

@keizer619
Copy link
Member

I think we should show version for ballerina version -h as well

@deepakchethan
Copy link

Hi @keizer619, I'd like to work on this

@udda1996
Copy link
Contributor

udda1996 commented Oct 5, 2023

👋 Welcome, @deepakchethan ! 🚀

We're thrilled to have you join the Ballerina Lang community! Whether you're a seasoned developer or just starting your journey with Ballerina, we value your contributions and look forward to collaborating with you.
To help you get started, here are some essential resources:

  1. Understanding Ballerina Platform:
    Learn what Ballerina is all about: Ballerina Platform
  2. How to Contribute:
    Read our contributing guidelines to understand how you can contribute effectively: Contribution Guide
  3. Contributing to the Ballerina library:
    If you're interested in contributing to our library, here are the guidelines: Library Contribution Guide
  4. Learn Ballerina:
    If you're new to Ballerina or want to enhance your skills, our official website offers a wealth of learning resources: Learn Ballerina
  5. Get Help and Connect:
    Join our Discord community to chat with fellow Ballerina enthusiasts and get assistance: Ballerina Discord

Remember, no contribution is too small, and your feedback is invaluable. Feel free to ask questions, propose ideas, or report issues. Together, we can make Ballerina even better!
Happy coding! 🎉

@udda1996
Copy link
Contributor

udda1996 commented Oct 5, 2023

@deepakchethan please feel free to raise any issue you come across related to Ballerina update flow and testing the fixes.

@priyavratamohan
Copy link

Hi, I'd like to work on this issue

@keizer619
Copy link
Member

@deepakchethan if you are not working on this please let us know, we can assign this to @priyavratamohan

@neelshah2409
Copy link

@keizer619 Even I would like to work on it

@keizer619
Copy link
Member

@neelshah2409 If you can send a PR we can include

@DanKibwikaAkillix
Copy link

Helle everyone , is the issue fixed already ? i'd like to work on it

@keizer619
Copy link
Member

Helle everyone , is the issue fixed already ? i'd like to work on it

Hi @DanKibwikaAkillix
This is not fixed and you can start working.

@Jaagrav
Copy link
Contributor

Jaagrav commented Oct 17, 2024

Hey @DanKibwikaAkillix are you still working on this issue, I have looked into this issue, the solution will be similar to #368 for showing version in version -h and there's also changes that need to be added to the shell file, for -v -h?

@Jaagrav
Copy link
Contributor

Jaagrav commented Oct 19, 2024

@keizer619 PTAL at this PR #369

@NipunaMadhushan
Copy link
Contributor Author

@Jaagrav We have discussed about this issue internally and decided to show only the version info for any command below.
bal version -h
bal --version -h
bal -v -h
bal version --help
bal --version --help
bal -v --help

We made this decision as it has been the norm in most of other languages.

@github-project-automation github-project-automation bot moved this from Todo to Done in Good First Issues Nov 4, 2024
Copy link

github-actions bot commented Nov 4, 2024

This issue is NOT closed with a proper Reason/ label. Make sure to add proper reason label before closing. Please add or leave a comment with the proper reason label now.

      - Reason/EngineeringMistake - The issue occurred due to a mistake made in the past.
      - Reason/Regression - The issue has introduced a regression.
      - Reason/MultipleComponentInteraction - Issue occured due to interactions in multiple components.
      - Reason/Complex - Issue occurred due to complex scenario.
      - Reason/Invalid - Issue is invalid.
      - Reason/Other - None of the above cases.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Status: Done
Status: Done
Development

Successfully merging a pull request may close this issue.

8 participants