diff options
author | Narrat | 2016-03-24 02:24:56 +0100 |
---|---|---|
committer | Narrat | 2016-03-24 02:24:56 +0100 |
commit | 64d52b7ee575f9712e0e5ddc15baa8a5d16dd181 (patch) | |
tree | 5591f597da98e811e67a3be10a616022988faf0d /add_help.patch | |
parent | c337abf5d684f6c4e0c70da993bc90830d396f76 (diff) | |
download | aur-flacgain.tar.gz |
Guideline updates
Stuff that should be in prepare() like patching stuff, is now there.
Also remove unnecessay chown commands
Diffstat (limited to 'add_help.patch')
-rw-r--r-- | add_help.patch | 41 |
1 files changed, 41 insertions, 0 deletions
diff --git a/add_help.patch b/add_help.patch new file mode 100644 index 000000000000..2767e8bb4736 --- /dev/null +++ b/add_help.patch @@ -0,0 +1,41 @@ +--- apply_replaygain.pl 2007-12-31 14:55:39.000000000 +0100 ++++ apply_replaygain.pl.new 2011-01-05 18:31:38.112189683 +0100 +@@ -43,7 +43,7 @@ use Getopt::Long; + our $metaflaccmd = "metaflac"; + + # Depending on your application, you may not require --preserve-modtime +-our @flacargs = qw ( --preserve-modtime --add-replay-gain ); ++our @flacargs = qw ( --add-replay-gain ); + + #-------------------- End User-changeable options --------------------- + +@@ -66,7 +66,7 @@ GetOptions( \%Options, + #$d_info = 0; + #$d_debug = 0; + +-showusage() unless ( scalar @ARGV <= 1 ); ++showusage() if ( scalar @ARGV <= 0 ); + + # Use current directory if no dir specified on command-line + @ARGV = ('.') unless @ARGV; +@@ -147,7 +147,19 @@ sub process_dirs { + } + + sub showusage { +- print "Usage goes here\n"; ++print "flacgain [options] [directory] ++ ++Options: ++ --processall Default behaviour is if all files in the directory ++ have ReplayGain information (specifically, the ++ REPLAY_ALBUM_GAIN tag) then the directory is skipped. ++ This option recalculates ReplayGain information ++ for all directories. ++ --info Output information (directories processed, etc.) ++ --debug Output debugging information ++ ++directory is the directory to scan for flac files. If omitted, the ++current directory is processed.\n"; + exit 1; + } + |