Skip to content

BUGFIX: Make --help display command overview#3584

Open
w3lld1 wants to merge 1 commit into
neos:9.2from
w3lld1:bugfix/help-option-overview
Open

BUGFIX: Make --help display command overview#3584
w3lld1 wants to merge 1 commit into
neos:9.2from
w3lld1:bugfix/help-option-overview

Conversation

@w3lld1

@w3lld1 w3lld1 commented Jul 13, 2026

Copy link
Copy Markdown

./flow --help now displays the same command overview as ./flow help instead of the abbreviated help stub.

The request builder keeps the existing no-argument behavior and routes only the explicit top-level --help option to the full help command. A regression test covers the alias.

Fixes #3583

Upgrade instructions

None.

Review instructions

Run the focused request-builder unit test and verify that ./flow --help lists the available commands.

Validation

  • vendor/bin/phpunit --bootstrap /tmp/neos-unit-bootstrap.php Neos.Flow/Tests/Unit/Cli/RequestBuilderTest.php --colors=never — 30 tests, 107 assertions
  • php -l Neos.Flow/Classes/Cli/RequestBuilder.php
  • php -l Neos.Flow/Tests/Unit/Cli/RequestBuilderTest.php

The full development-distribution CI matrix was not reproduced locally.

Checklist

  • Code follows the PSR-2 coding style
  • Tests have been created, run and adjusted as needed
  • The PR is created against the lowest maintained branch
  • PR title is brief but complete and starts with FEATURE|TASK|BUGFIX
  • The first section explains the change briefly for change-logs
  • No breaking changes

Signed-off-by: w3lld1 <42353747+w3lld1@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

BUG ./flow --help does not work as alias for ./flow help

1 participant