diff options
author | Josh <josh.t.richards@gmail.com> | 2025-07-31 11:40:36 -0400 |
---|---|---|
committer | Josh <josh.t.richards@gmail.com> | 2025-07-31 14:07:28 -0400 |
commit | d653b7523de7d6660f02cbbe0ea505eeda567e14 (patch) | |
tree | fff6895623686adf30dbd1d63beb3fed1cdf7e20 | |
parent | 47fd3707a2c8be628ef614b3459ebb4f003d1b0c (diff) | |
download | nextcloud-server-jtr-feat-occ-default-help-docs-link.tar.gz nextcloud-server-jtr-feat-occ-default-help-docs-link.zip |
feat(occ): add default help text with docs link to all commandsjtr-feat-occ-default-help-docs-link
Signed-off-by: Josh <josh.t.richards@gmail.com>
-rw-r--r-- | core/Command/Base.php | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/core/Command/Base.php b/core/Command/Base.php index 6ab2765b0f9..1ad84111b3a 100644 --- a/core/Command/Base.php +++ b/core/Command/Base.php @@ -24,9 +24,11 @@ class Base extends Command implements CompletionAwareInterface { protected string $defaultOutputFormat = self::OUTPUT_FORMAT_PLAIN; private bool $php_pcntl_signal = false; private bool $interrupted = false; + public string $defaultHelp = 'More extensive and thorough documentation may be found at https://docs.nextcloud.com' . PHP_EOL; // TODO: link to appropriately versioned/themed Admin Manual protected function configure() { $this + ->setHelp($this->defaultHelp) ->addOption( 'output', null, |