From 945102910ffd7f461debf9765a039e89da49c305 Mon Sep 17 00:00:00 2001 From: Thierry Crozat Date: Sat, 10 Apr 2010 21:42:42 +0000 Subject: [PATCH] Change CLI flag for lame path to --lame-path. svn-id: r48612 --- compress.cpp | 6 +++--- gui/pages.cpp | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/compress.cpp b/compress.cpp index b4dbb061..f961f408 100644 --- a/compress.cpp +++ b/compress.cpp @@ -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 to the lame excutable to use (default: lame)\n"; + os << " --lame-path Path to the lame excutable to use (default: lame)\n"; os << " -b is the target bitrate(ABR)/minimal bitrate(VBR) (default:" << minBitrDef << "%d)\n"; os << " -B is the maximum VBR/ABR bitrate (default:%" << maxBitrDef << ")\n"; os << " --vbr LAME uses the VBR mode (default)\n"; diff --git a/gui/pages.cpp b/gui/pages.cpp index 445ba8ed..f0b73f0e 100644 --- a/gui/pages.cpp +++ b/gui/pages.cpp @@ -871,7 +871,7 @@ wxWindow *ChooseAudioOptionsMp3Page::CreatePanel(wxWindow *parent) { /* "\nMP3 mode params:\n" - " -lame-path Path to the lame excutable to use (default: lame)\n" + " --lame-path Path to the lame excutable to use (default: lame)\n" " -b is the target bitrate(ABR)/minimal bitrate(VBR) (default:" minBitrDef_str "%d)\n" " -B is the maximum VBR/ABR bitrate (default:%" maxBitrDef_str ")\n" " --vbr LAME uses the VBR mode (default)\n"