Change CLI flag for lame path to --lame-path.

svn-id: r48612
This commit is contained in:
Thierry Crozat
2010-04-10 21:42:42 +00:00
parent 242f2aee02
commit 945102910f
2 changed files with 4 additions and 4 deletions
+3 -3
View File
@@ -904,9 +904,9 @@ bool CompressionTool::processMp3Parms() {
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 @@ std::string CompressionTool::getHelp() const {
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";