From 963c355975aeed6ec5748e5d3f9d4b7485b6cf3a Mon Sep 17 00:00:00 2001 From: Slaven Rezic Date: Thu, 6 Nov 2008 23:28:12 +0100 Subject: [PATCH] * new -name option * remove unnecessary Jcode section --- chalow | 20 +++++++++++--------- 1 file changed, 11 insertions(+), 9 deletions(-) diff --git a/chalow b/chalow index 7ff5327..d490c2c 100755 --- a/chalow +++ b/chalow @@ -335,7 +335,9 @@ my $gor = GetOptions('n|top-n=n' => \$opt_topn_tmp, 'C|css=s' => \$opt_css_file, 'q|quiet' => \$quiet_mode, '8|utf8' => \$utf8_mode, - 'd|debug' => \$debug_mode); + 'd|debug' => \$debug_mode, + 'name=s' => \$changelog_name, + ); if (@ARGV == 0 or $gor == 0) { print << "USAGE"; @@ -1429,12 +1431,12 @@ sub urlencode { return $_; } -### modularized for i18n -# delete content of this func, -# if you use utf8 file and don't use Jcode. -sub to_utf8_cl { - my ($sp) = @_; - use Jcode; - $$sp = Jcode->new($$sp)->utf8; -} +# ### modularized for i18n +# # delete content of this func, +# # if you use utf8 file and don't use Jcode. +# sub to_utf8_cl { +# my ($sp) = @_; +# use Jcode; +# $$sp = Jcode->new($$sp)->utf8; +# } -- 2.11.4.GIT