namespace BookStack\Console\Commands;
-use BookStack\Services\ImageService;
+use BookStack\Uploads\ImageService;
use Illuminate\Console\Command;
use Symfony\Component\Console\Output\OutputInterface;
* @var string
*/
protected $signature = 'bookstack:cleanup-images
- {--a|all : Include images that are used in page revisions}
- {--f|force : Actually run the deletions}
+ {--a|all : Also delete images that are only used in old revisions}
+ {--f|force : Actually run the deletions, Defaults to a dry-run}
';
/**
/**
* Create a new command instance.
- * @param ImageService $imageService
+ * @param \BookStack\Uploads\ImageService $imageService
*/
public function __construct(ImageService $imageService)
{