diff --git a/docs/changelog/7.x.x.txt b/docs/changelog/7.x.x.txt index 1d8234913..c578fd619 100644 --- a/docs/changelog/7.x.x.txt +++ b/docs/changelog/7.x.x.txt @@ -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 diff --git a/sbin/thumbnailer.pl b/sbin/thumbnailer.pl index d2539a84e..9c2fea603 100644 --- a/sbin/thumbnailer.pl +++ b/sbin/thumbnailer.pl @@ -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 < [--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.