mirror of
https://github.com/moses-smt/mosesdecoder.git
synced 2024-10-26 19:37:58 +03:00
Removed duplicate usage printout when moses is called with no parameters.
This commit is contained in:
parent
5d9859ba0e
commit
357845c1a4
@ -357,7 +357,6 @@ int main(int argc, char** argv)
|
||||
// (stores them as strings, or array of strings)
|
||||
Parameter* params = new Parameter();
|
||||
if (!params->LoadParam(argc,argv)) {
|
||||
params->Explain();
|
||||
exit(1);
|
||||
}
|
||||
|
||||
|
@ -218,7 +218,9 @@ bool Parameter::LoadParam(int argc, char* argv[])
|
||||
PrintCredit();
|
||||
Explain();
|
||||
|
||||
cerr << endl;
|
||||
UserMessage::Add("No configuration file was specified. Use -config or -f");
|
||||
cerr << endl;
|
||||
return false;
|
||||
} else {
|
||||
if (!ReadConfigFile(configPath)) {
|
||||
|
Loading…
Reference in New Issue
Block a user