Skip to content

Global help option type is wrong #586

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

Closed
jvalkeal opened this issue Dec 4, 2022 · 0 comments
Closed

Global help option type is wrong #586

jvalkeal opened this issue Dec 4, 2022 · 0 comments
Assignees
Labels
type/bug Is a bug report
Milestone

Comments

@jvalkeal
Copy link
Contributor

jvalkeal commented Dec 4, 2022

Feature added in #582 prints:

$ java -jar spring-shell-samples/build/libs/spring-shell-samples-3.0.0-SNAPSHOT.jar help -h
NAME
       help - Display help about available commands

SYNOPSIS
       help --command String --help String

OPTIONS
       --command or -C String
       The command to obtain help for.
       [Optional]

       --help or -h String
       help for help
       [Optional]

where --help and -h is just a flag, it doesn't have a type String.

@jvalkeal jvalkeal added the type/bug Is a bug report label Dec 4, 2022
@jvalkeal jvalkeal added this to the 3.0.0-RC1 milestone Dec 4, 2022
@jvalkeal jvalkeal self-assigned this Dec 4, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type/bug Is a bug report
Projects
None yet
Development

No branches or pull requests

1 participant