Skip to content

Make cardano-node --help show the same help as calling cardano-node - #6403

Merged
palas merged 1 commit into
masterfrom
fix-help
Jan 9, 2026
Merged

palas merged 1 commit into
masterfrom
fix-help

Conversation

@palas

@palas palas commented Jan 8, 2026 •

Copy link
Copy Markdown
Contributor

Description

As pointed out by @silky, the command cardano-node --help gives a very small and confusing output:

Usage: cardano-node run
 

But curiously, writing cardano-node without parameters gives much better output.

Usage: cardano-node run

  Start node of the Cardano blockchain.

Available options:
  --version                Show the cardano-node version
  -h,--help                Show this help text

Run the node
  run                      Run the node.

Miscellaneous commands
  trace-documentation      Generate the trace documentation
  version                  Show the cardano-node version

So this PR changes cardano-node --help to output the same as cardano-node without parameters.

Checklist

  • Commit sequence broadly makes sense and commits have useful messages
  • New tests are added if needed and existing tests are updated. These may include:
    • golden tests
    • property tests
    • roundtrip tests
    • integration tests
      See Runnings tests for more details
  • Any changes are noted in the CHANGELOG.md for affected package
  • The version bounds in .cabal files are updated
  • CI passes. See note on CI. The following CI checks are required:
    • Code is linted with hlint. See .github/workflows/check-hlint.yml to get the hlint version
    • Code is formatted with stylish-haskell. See .github/workflows/stylish-haskell.yml to get the stylish-haskell version
    • Code builds on Linux, MacOS and Windows for ghc-9.6 and ghc-9.12
  • Self-reviewed the diff

@palas palas self-assigned this Jan 8, 2026
@palas
palas requested a review from a team as a code owner January 8, 2026 21:06
@palas
palas added this pull request to the merge queue Jan 9, 2026
Merged via the queue into master with commit 98dc72f Jan 9, 2026
25 checks passed
@palas
palas deleted the fix-help branch January 9, 2026 17:14
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.

3 participants