[Scummvm-cvs-logs] SF.net SVN: scummvm:[48612] tools
criezy at users.sourceforge.net
criezy at users.sourceforge.net
Sat Apr 10 23:42:42 CEST 2010
Revision: 48612
http://scummvm.svn.sourceforge.net/scummvm/?rev=48612&view=rev
Author: criezy
Date: 2010-04-10 21:42:42 +0000 (Sat, 10 Apr 2010)
Log Message:
-----------
Change CLI flag for lame path to --lame-path.
Modified Paths:
--------------
tools/branches/branch-1-1-0/compress.cpp
tools/branches/branch-1-1-0/gui/pages.cpp
tools/trunk/compress.cpp
tools/trunk/gui/pages.cpp
Modified: tools/branches/branch-1-1-0/compress.cpp
===================================================================
--- tools/branches/branch-1-1-0/compress.cpp 2010-04-10 20:39:41 UTC (rev 48611)
+++ tools/branches/branch-1-1-0/compress.cpp 2010-04-10 21:42:42 UTC (rev 48612)
@@ -904,9 +904,9 @@
encparms.abr = 0;
} else if (arg == "--abr") {
encparms.abr = 1;
- } else if (arg == "-lame-path") {
+ } else if (arg == "--lame-path") {
if (_arguments.empty())
- throw ToolException("Could not parse command line options, expected value after -lame-path");
+ throw ToolException("Could not parse command line options, expected value after --lame-path");
setMp3LamePath(_arguments.front());
_arguments.pop_front();
@@ -1113,7 +1113,7 @@
if (_supportedFormats & AUDIO_MP3) {
os << "\nMP3 mode params:\n";
- os << " -lame-path <path> Path to the lame excutable to use (default: lame)\n";
+ os << " --lame-path <path> Path to the lame excutable to use (default: lame)\n";
os << " -b <rate> <rate> is the target bitrate(ABR)/minimal bitrate(VBR) (default:" << minBitrDef << "%d)\n";
os << " -B <rate> <rate> is the maximum VBR/ABR bitrate (default:%" << maxBitrDef << ")\n";
os << " --vbr LAME uses the VBR mode (default)\n";
Modified: tools/branches/branch-1-1-0/gui/pages.cpp
===================================================================
--- tools/branches/branch-1-1-0/gui/pages.cpp 2010-04-10 20:39:41 UTC (rev 48611)
+++ tools/branches/branch-1-1-0/gui/pages.cpp 2010-04-10 21:42:42 UTC (rev 48612)
@@ -871,7 +871,7 @@
/*
"\nMP3 mode params:\n"
- " -lame-path <path> Path to the lame excutable to use (default: lame)\n"
+ " --lame-path <path> Path to the lame excutable to use (default: lame)\n"
" -b <rate> <rate> is the target bitrate(ABR)/minimal bitrate(VBR) (default:" minBitrDef_str "%d)\n"
" -B <rate> <rate> is the maximum VBR/ABR bitrate (default:%" maxBitrDef_str ")\n"
" --vbr LAME uses the VBR mode (default)\n"
Modified: tools/trunk/compress.cpp
===================================================================
--- tools/trunk/compress.cpp 2010-04-10 20:39:41 UTC (rev 48611)
+++ tools/trunk/compress.cpp 2010-04-10 21:42:42 UTC (rev 48612)
@@ -904,9 +904,9 @@
encparms.abr = 0;
} else if (arg == "--abr") {
encparms.abr = 1;
- } else if (arg == "-lame-path") {
+ } else if (arg == "--lame-path") {
if (_arguments.empty())
- throw ToolException("Could not parse command line options, expected value after -lame-path");
+ throw ToolException("Could not parse command line options, expected value after --lame-path");
setMp3LamePath(_arguments.front());
_arguments.pop_front();
@@ -1113,7 +1113,7 @@
if (_supportedFormats & AUDIO_MP3) {
os << "\nMP3 mode params:\n";
- os << " -lame-path <path> Path to the lame excutable to use (default: lame)\n";
+ os << " --lame-path <path> Path to the lame excutable to use (default: lame)\n";
os << " -b <rate> <rate> is the target bitrate(ABR)/minimal bitrate(VBR) (default:" << minBitrDef << "%d)\n";
os << " -B <rate> <rate> is the maximum VBR/ABR bitrate (default:%" << maxBitrDef << ")\n";
os << " --vbr LAME uses the VBR mode (default)\n";
Modified: tools/trunk/gui/pages.cpp
===================================================================
--- tools/trunk/gui/pages.cpp 2010-04-10 20:39:41 UTC (rev 48611)
+++ tools/trunk/gui/pages.cpp 2010-04-10 21:42:42 UTC (rev 48612)
@@ -871,7 +871,7 @@
/*
"\nMP3 mode params:\n"
- " -lame-path <path> Path to the lame excutable to use (default: lame)\n"
+ " --lame-path <path> Path to the lame excutable to use (default: lame)\n"
" -b <rate> <rate> is the target bitrate(ABR)/minimal bitrate(VBR) (default:" minBitrDef_str "%d)\n"
" -B <rate> <rate> is the maximum VBR/ABR bitrate (default:%" maxBitrDef_str ")\n"
" --vbr LAME uses the VBR mode (default)\n"
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
More information about the Scummvm-git-logs
mailing list