Hacktoberfest 2026: the issues maintainers tagged for October, open and beginner-friendly. Browse Hacktoberfest issues

Can not recognize short-name shell option with multi chars

Open
#1,109 4 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
3/5
Estimated time
1-2 days
Newbie friendliness
38/100
Issue type
Bug
Clarity
Mostly clear
Activity status
Stale
Tech stack
java
Domain
cli

Research direction

Reproduce the behavior described for -hwp 75 on Spring Shell 3.3.1 with OpenJDK 17, then trace the command-line option parsing entry point. Confirm whether multi-character short options are intended to be supported and, if so, ensure -hwp is not split into -h and -p; otherwise document the supported configuration or limitation.

Written by the indexing model from the issue text.

Description

type/bug

version: 3.3.1
jdk: openjdk17
issues:
微信截图_20240724102932

I use -hwp 75 as a command, but recognize as -h 75 and -p 75.

I think this may be an issue, or has other configuration to solve?

Dominant language
Java
Stars
826
Forks
404
Avg merge
6d 9h
Merged PRs (30d)
1

Getting set up

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from spring-projects/spring-shell

All issues in spring-projects/spring-shell

Similar issues

More Java issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.