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

Return to accepting "-" as a shell option value.

Open
#987 5 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

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

Research direction

No file or test is named. Locate the spring-shell parser handling shell option values and compare its behavior with v3.0.10, focusing on the example shell:>foo --bar -. Done means - is again accepted as an option value for streaming input from STDIN.

Written by the indexing model from the issue text.

Description

status/need-feedback

Prior to v3.1.0 the spring-shell parser would accept "-" as the value of a shell option. This was a convenient way to indicate that the shell method should stream over inputs from STDIN and worked up through v3.0.10. Many unix commands support a similar syntax.

eg: shell:>foo --bar -

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

Contributor guide

Open the contributing guide

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.