fix: Bug in thumbnailer.pl
This commit is contained in:
parent
6215b5d7a7
commit
2124f58231
2 changed files with 5 additions and 4 deletions
|
|
@ -3,6 +3,7 @@
|
|||
- fix: SQLReport SubQuery Pagination (William McKee / Knowmad Technologies)
|
||||
- fix: SQL Report: Paginate After (Still) (William McKee / Knowmad
|
||||
Technologies)
|
||||
- fix: Bug in thumbnailer.pl
|
||||
|
||||
|
||||
7.3.12
|
||||
|
|
|
|||
|
|
@ -24,20 +24,20 @@ use WebGUI::Utility;
|
|||
my $thumbnailSize;
|
||||
my $onlyMissingThumbnails;
|
||||
my $help;
|
||||
|
||||
my $path = shift @ARGV;
|
||||
my $path;
|
||||
|
||||
my $ok = GetOptions(
|
||||
'size=i'=>\$thumbnailSize,
|
||||
'missing'=>\$onlyMissingThumbnails,
|
||||
'help'=>\$help,
|
||||
'path=s'=>\$path
|
||||
);
|
||||
|
||||
if ($help || ($path && $ok) ) {
|
||||
print <<USAGE;
|
||||
Usage: perl $0 <uploadsPath> [--size=thumbnailSize] [--missing]
|
||||
Usage: perl $0 --path=/path/to/files [--size=thumbnailSize] [--missing]
|
||||
|
||||
uploadsPath is the complete path to your uploads directory
|
||||
--path is the complete path to your uploads directory
|
||||
|
||||
--size=thumbSize allows you to override the default thumbnail size of 50.
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue