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

Add default help message #2

Merged
merged 3 commits into from
Mar 14, 2024
Merged

Conversation

sickler-alex
Copy link
Contributor

@sickler-alex sickler-alex commented Mar 11, 2024

Pull Request Name

  • closes #xxxx
  • README entry added if new functionality
  • fixup commits are appropriately squashed

[Description here]

This PR adds displaying the help message when a command is run with no options. In other words, d3b validation and d3b validation --help output the same results. However, this doesn't work if a sub command is run without an option. When subcommands (validation manifest, etc.) are run, the output message lists what required argument(s) are missing.

@sickler-alex sickler-alex self-assigned this Mar 11, 2024
@sickler-alex sickler-alex marked this pull request as ready for review March 12, 2024 13:57
Copy link
Contributor

@HuangXiaoyan0106 HuangXiaoyan0106 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This looks good!

@HuangXiaoyan0106 HuangXiaoyan0106 merged commit 236d1fb into master Mar 14, 2024
@sickler-alex sickler-alex deleted the feature/default_help_message branch March 14, 2024 15:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants