diff --git a/core/Command/Base.php b/core/Command/Base.php index 6ab2765b0f93e..8f94c1d473aba 100644 --- a/core/Command/Base.php +++ b/core/Command/Base.php @@ -26,7 +26,10 @@ class Base extends Command implements CompletionAwareInterface { private bool $interrupted = false; protected function configure() { + // Some of our commands do not extend this class; and some of those that do do not call parent::configure() + $defaultHelp = 'More extensive and thorough documentation may be found at ' . \OCP\Server::get(\OCP\Defaults::class)->getDocBaseUrl() . PHP_EOL; $this + ->setHelp($defaultHelp) ->addOption( 'output', null,