aboutsummaryrefslogtreecommitdiffstats
path: root/core/Command/Info/Space.php
diff options
context:
space:
mode:
Diffstat (limited to 'core/Command/Info/Space.php')
-rw-r--r--core/Command/Info/Space.php8
1 files changed, 4 insertions, 4 deletions
diff --git a/core/Command/Info/Space.php b/core/Command/Info/Space.php
index 645deae04b2..35c1d5c3228 100644
--- a/core/Command/Info/Space.php
+++ b/core/Command/Info/Space.php
@@ -27,9 +27,9 @@ class Space extends Command {
$this
->setName('info:file:space')
->setDescription('Summarize space usage of specified folder')
- ->addArgument('file', InputArgument::REQUIRED, "File id or path")
- ->addOption('count', 'c', InputOption::VALUE_REQUIRED, "Number of items to display", 25)
- ->addOption('all', 'a', InputOption::VALUE_NONE, "Display all items");
+ ->addArgument('file', InputArgument::REQUIRED, 'File id or path')
+ ->addOption('count', 'c', InputOption::VALUE_REQUIRED, 'Number of items to display', 25)
+ ->addOption('all', 'a', InputOption::VALUE_NONE, 'Display all items');
}
public function execute(InputInterface $input, OutputInterface $output): int {
@@ -41,7 +41,7 @@ class Space extends Command {
$output->writeln("<error>file $fileInput not found</error>");
return 1;
}
- $output->writeln($node->getName() . ": <info>" . Util::humanFileSize($node->getSize()) . "</info>");
+ $output->writeln($node->getName() . ': <info>' . Util::humanFileSize($node->getSize()) . '</info>');
if ($node instanceof Folder) {
$limits = $all ? [] : array_fill(0, $count - 1, 0);
$this->fileUtils->outputLargeFilesTree($output, $node, '', $limits, $all);