]> git.mxchange.org Git - friendica.git/blobdiff - src/Console/Addon.php
Increase cache lifespan / clear cache upon changes
[friendica.git] / src / Console / Addon.php
index c1d434bbeb730445ed135bd4cb537f26acc8b0fa..1389e97bf4f75573c0423d09c16b5a0c0a396b5f 100644 (file)
@@ -1,6 +1,6 @@
 <?php
 /**
- * @copyright Copyright (C) 2021, Friendica
+ * @copyright Copyright (C) 2010-2022, the Friendica project
  *
  * @license GNU AGPL version 3 or any later version
  *
@@ -55,9 +55,9 @@ class Addon extends \Asika\SimpleConsole\Console
                $help = <<<HELP
 console user - Modify addon settings per console commands.
 Usage
-       bin/console addon list all [-s|--start=0] [-c|--count=50] [-h|--help|-?] [-v]
-       bin/console addon list enabled [-s|--start=0] [-c|--count=50] [-h|--help|-?] [-v]
-       bin/console addon list disabled [-s|--start=0] [-c|--count=50] [-h|--help|-?] [-v]
+       bin/console addon list all [-h|--help|-?] [-v]
+       bin/console addon list enabled [-h|--help|-?] [-v]
+       bin/console addon list disabled [-h|--help|-?] [-v]
        bin/console addon enable <addonname> [-h|--help|-?] [-v]
        bin/console addon disable <addonname> [-h|--help|-?] [-v]
 
@@ -123,8 +123,6 @@ HELP;
        private function list()
        {
                $subCmd = $this->getArgument(1);
-               $start = $this->getOption(['s', 'start'], 0);
-               $count = $this->getOption(['c', 'count'], Pager::ITEMS_PER_PAGE);
 
                $table = new Console_Table();
                switch ($subCmd) {