Skip to content

Add help option aliases#518

Closed
puneetdixit200 wants to merge 1 commit into
itsallcode:mainfrom
puneetdixit200:cli/help-option-aliases
Closed

Add help option aliases#518
puneetdixit200 wants to merge 1 commit into
itsallcode:mainfrom
puneetdixit200:cli/help-option-aliases

Conversation

@puneetdixit200
Copy link
Copy Markdown

Summary

  • map -h and --help to the existing help command
  • add unit coverage for the Picocli setters and CLI integration coverage for both aliases
  • document the aliases in the user guide and design spec

Validation

  • mvn -T1C package -DskipTests -Dmaven.javadoc.skip=true
  • mvn -pl core -am -Dtest=TestCliArguments -Dsurefire.failIfNoSpecifiedTests=false test
  • mvn -pl product -am -Dtest=CliExitIT -Dsurefire.failIfNoSpecifiedTests=false test
  • git diff --check

AI assistance

AI assistance was used to draft and verify this small CLI change. I reviewed the diff and test output before submitting.

Fixes #503

Map -h and --help to the existing help command and cover the aliases in unit, CLI integration, and docs updates.

Assisted-by: OpenAI Codex (GPT-5) <noreply@openai.com>
Signed-off-by: Puneet Dixit <236133619+puneetdixit200@users.noreply.github.com>
@redcatbear
Copy link
Copy Markdown
Collaborator

Hello @puneetdixit200 , thanks a lot for your contribution. Our Sonar setup required me to do some major refactoring to get this feature through. See PR #503.

I am closing this PR, since the feature was added.

Thanks again.

@redcatbear redcatbear closed this May 25, 2026
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.

Add -h/--help argument to the CLI

2 participants