From 6be03109336bf9ea590ad60f6aaedccd94891f09 Mon Sep 17 00:00:00 2001 From: Alejandro Celaya Date: Tue, 14 Jul 2020 15:31:18 +0200 Subject: [PATCH] Improved command flag description --- module/CLI/src/Command/ShortUrl/ListShortUrlsCommand.php | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/module/CLI/src/Command/ShortUrl/ListShortUrlsCommand.php b/module/CLI/src/Command/ShortUrl/ListShortUrlsCommand.php index 38e002ac..38abbb4d 100644 --- a/module/CLI/src/Command/ShortUrl/ListShortUrlsCommand.php +++ b/module/CLI/src/Command/ShortUrl/ListShortUrlsCommand.php @@ -82,7 +82,13 @@ class ListShortUrlsCommand extends AbstractWithDateRangeCommand 'The field from which we want to order by. Pass ASC or DESC separated by a comma', ) ->addOption('showTags', null, InputOption::VALUE_NONE, 'Whether to display the tags or not') - ->addOption('all', 'a', InputOption::VALUE_NONE, 'Disables pagination and just displays all existing URLs'); + ->addOption( + 'all', + 'a', + InputOption::VALUE_NONE, + 'Disables pagination and just displays all existing URLs. Caution! If the amount of short URLs is big,' + . ' this may end up failing due to memory usage.', + ); } protected function getStartDateDesc(): string