diff options
author | Guilhem Moulin <guilhem.moulin@ens-lyon.org> | 2012-02-18 22:08:07 +0100 |
---|---|---|
committer | Guilhem Moulin <guilhem.moulin@ens-lyon.org> | 2012-02-18 22:08:07 +0100 |
commit | 720cef33dd67d0767c650ea8b55d61ea70428657 (patch) | |
tree | bfc41c2a3104f1f02fd2b5af84698b0084f89e3e | |
parent | 03c0ff74137f5f3f25398f74cc9fda7828bddda3 (diff) |
doc
-rwxr-xr-x | videoadd.pl | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/videoadd.pl b/videoadd.pl index f7c784b..27d40b5 100755 --- a/videoadd.pl +++ b/videoadd.pl @@ -117,7 +117,7 @@ movie. Note that it may break the sanity of your collection. =item B<--dont-move> Do not put the new movie in I<DIRECTORS/director/movie>, with a -symlink I<MOVIES/movie> -> I<DIRECTORS/director/movie>. +symlink I<MOVIES/movie> -> I<../DIRECTORS/director/movie>. Note that it may break the sanity of your collection. =item B<-i> I<crit>, B<--imdb=>I<crit> @@ -126,9 +126,9 @@ Search for the given criterion (e.g., a movie title or an IMDB ID) on IMDB. The retrieved data (such as year, director, cast, etc.) will be added to the database (unless overriden by B<-o> I<key=value>). -=item B<-o> I<key=value> +=item B<-o> I<key=value>, B<--option=>I<key=value> -Override data with the I<value> provided. +Override data from IMDB with the I<value> provided. Valid I<key>s are I<title>, I<language >, I<imdbid>, I<year>, I<imgurl>, I<director>, I<genres>, I<country>, I<plot>, I<rating>, I<istv>. @@ -214,7 +214,7 @@ GetOptions( "s|seen" => \$seen_flag , "ignore-db" => \$ignoredb_flag , "dont-move" => sub { undef $move_flag } , "i|imdb=s" => sub { $imdb{crit} = $_[1] } - , "o=s" => sub { my ($k,$v) = split /=/, $_[1], 2; + , "o|option=s"=> sub { my ($k,$v) = split /=/, $_[1], 2; $options{lc $k} = $v; } , "only=s" => sub { @only = &keywords (split /,/, $_[1]) } , "exclude=s" => sub { @exclude = &keywords (split /,/, $_[1]) } |