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

Display running command when showing help on stellar contract invoke. #1859

Merged
merged 2 commits into from
Jan 30, 2025

Conversation

fnando
Copy link
Member

@fnando fnando commented Jan 29, 2025

What

Display running command when showing help on stellar contract invoke.

Before:

$ stellar contract invoke --id hello
Usage: CDTQG6AHKP452WCOPK6EKU6W7K236TSDMVZSQXJDHZYGIAGQUEZ446YW [COMMAND]

Commands:
  hello
  help   Print this message or the help of the given subcommand(s)

Options:
  -h, --help
          Print help

After:

$ stellar contract invoke --id hello
Usage: stellar contract invoke --id hello -- [COMMAND]

Commands:
  hello
  help   Print this message or the help of the given subcommand(s)

Options:
  -h, --help
          Print help

$ stellar contract invoke --id hello -- --help
Usage: stellar contract invoke --id hello -- [COMMAND]

Commands:
  hello
  help   Print this message or the help of the given subcommand(s)

Options:
  -h, --help  Print help

Why

Close #1858

Known limitations

N/A

@fnando fnando self-assigned this Jan 29, 2025
@fnando fnando added the enhancement New feature or request label Jan 29, 2025
@fnando fnando merged commit b29b0e6 into main Jan 30, 2025
24 of 25 checks passed
@fnando fnando deleted the contract-help branch January 30, 2025 18:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
Status: Done
Development

Successfully merging this pull request may close these issues.

stellar contract invoke's help is wrong
2 participants