Don't print help text after login

This commit is contained in:
Sude 2016-03-12 09:37:30 +02:00
parent 0be499db7f
commit a0650129f7

View File

@ -557,9 +557,13 @@ int main(int argc, char *argv[])
else if (config.bCheckStatus)
downloader.checkStatus();
else
{ // Show help message
std::cerr << config.sVersionString << std::endl
<< options_cli_all << std::endl;
{
if (!(config.bLoginAPI || config.bLoginHTTP))
{
// Show help message
std::cerr << config.sVersionString << std::endl
<< options_cli_all << std::endl;
}
}
// Orphan check was called at the same time as download. Perform it after download has finished