diff options
author | Andy Shevchenko <andy@smile.org.ua> | 2010-03-14 09:23:46 +0000 |
---|---|---|
committer | Andy Shevchenko <andy@smile.org.ua> | 2010-03-14 09:23:46 +0000 |
commit | bc407536e3054f354c6cb54de81b7771ab5dde8e (patch) | |
tree | e685a9004f698e35e42f9fab953b938b1690f650 | |
parent | 98d4abe19d10ef72a1f7f68aba6e517531ebc106 (diff) | |
download | renrot-bc407536e3054f354c6cb54de81b7771ab5dde8e.tar.gz renrot-bc407536e3054f354c6cb54de81b7771ab5dde8e.tar.bz2 |
The option --keywordize was renamed to --keywords
Signed-off-by: Andy Shevchenko <andy.shevchenko@gmail.com>
git-svn-id: file:///svnroot/renrot/trunk@592 fe2816f4-e837-0410-b10a-f608c9d244a1
-rw-r--r-- | NEWS | 4 | ||||
-rw-r--r-- | etc/renrot.conf | 4 | ||||
-rwxr-xr-x | renrot | 18 |
3 files changed, 15 insertions, 11 deletions
@@ -1,3 +1,7 @@ +* 1.2.0 * +The option --keywordize was renamed to --keywords. + + * 1.1.0 * The current post release contains two small fixes. One of them is for a diff --git a/etc/renrot.conf b/etc/renrot.conf index 47e7131..08b87cf 100644 --- a/etc/renrot.conf +++ b/etc/renrot.conf @@ -57,9 +57,9 @@ # # KEYWORDS SECTION # -# Whether to keywordize the files (see option --keywordize description +# Whether to fill Keywords tag to the files (see option --keywords description # in manual, for details) -#keywordize = No +#keywords = No # Whether to replace existing keywords with new ones, or add new ones #keywords replace = No @@ -79,7 +79,7 @@ my %cfgOpts = ( 'aggregation mode' => 'none', 'aggregation template' => '%Y%m%d', 'aggregation virtual' => 0, - 'keywordize' => 0, + 'keywords' => 0, 'keywords file' => '.keywords', 'keywords replace' => 0, 'mtime' => 1, @@ -155,7 +155,7 @@ my @excludeList = (); # files that will be excluded from list my $extToProcess = ''; # the extension of files to work with my $gen_thm = 0; # to not to generate ThumbnailImage if empty -my $keywordize; # keywordize or not +my $keywords; # whether or not to fill Keywords tag my $keywordsReplace; # whether to add keywords to the existent ones or replace them my $keywordsFile; # file with keyword set @@ -468,7 +468,7 @@ sub getOptions { "extension|e=s" => \$extToProcess, "generate-thumb|g" => \$gen_thm, "help|?" => \$showHelp, - "keywordize!" => \$keywordize, + "keywords!" => \$keywords, "keywords-file|k=s" => \$keywordsFile, "keywords-replace!" => \$keywordsReplace, "mtime!" => \$mtime, @@ -526,7 +526,7 @@ sub getOptions { ldbg3("--extension: '$extToProcess'"); ldbg3("--generate-thumb: ", boolConv($gen_thm)); - ldbg3("--keywordize: ", boolConv($keywordize)) if (defined $keywordize); + ldbg3("--keywords: ", boolConv($keywords)) if (defined $keywords); ldbg3("--keywords-replace: ", boolConv($keywordsReplace)) if (defined $keywordsReplace); ldbg3("--keywords-file: $keywordsFile") if (defined $keywordsFile); @@ -818,7 +818,7 @@ sub renRotProcess { my $info; # ImageInfo object my @keywordArr = (); # array for keywords - if ($cfgOpts{'keywordize'} != 0) { + if ($cfgOpts{'keywords'} != 0) { @keywordArr = keywordizer ($cfgOpts{'keywords file'}); errmsg ("Keywords file doesn't exist!\n") if (not -e $cfgOpts{'keywords file'}); } @@ -1974,7 +1974,7 @@ Rotating options: tag Keywordizing options: - --keywordize (*) set Keywords tag + --keywords (*) set Keywords tag --keywords-replace (*) replace Keywords tag rather than add values to it -k, --keywords-file <FILE> read keywords from FILE @@ -2197,7 +2197,7 @@ $cfgOpts{'aggregation directory'} = $aggrDir if (defined $aggrDir); $cfgOpts{'aggregation mode'} = $aggrMode if (defined $aggrMode); $cfgOpts{'aggregation template'} = $aggrTemplate if (defined $aggrTemplate); $cfgOpts{'aggregation virtual'} = $aggrVirtual if (defined $aggrVirtual); -$cfgOpts{'keywordize'} = $keywordize if (defined $keywordize); +$cfgOpts{'keywords'} = $keywords if (defined $keywords); $cfgOpts{'keywords file'} = $keywordsFile if (defined $keywordsFile); $cfgOpts{'keywords replace'} = $keywordsReplace if (defined $keywordsReplace); $cfgOpts{'mtime'} = $mtime if (defined $mtime); @@ -2534,9 +2534,9 @@ Use B<--no-mtime> to set it to current time stamp after processing. Do not rename, rotate, tag and mtime images. It saves files from any changes while allows to do aggregation, contact sheet generation e.t.c. -=item B<--keywordize>, B<--no-keywordize> +=item B<--keywords>, B<--no-keywords> -Whether to keywordize. Default is to not. Be careful, since with this option +Whether to fill Keywords tag. Default is to not. Be careful, since with this option enabled, the existing keywords are rewriten. The keywords are taken from F<.keywords> file or file specified with option B<--keywords-file>. |