DepotDownloader: Suppress CellID 0 warning if using auth (as CellID will be automatically retrieved).

pull/8/head
Nicholas Hastings 13 years ago
parent 37b31d032d
commit a26a105519

@ -62,10 +62,13 @@ namespace DepotDownloader
if (cellId == -1) if (cellId == -1)
{ {
cellId = 0; cellId = 0;
if (GetStringParameter(args, "-username") == null)
{
Console.WriteLine( Console.WriteLine(
"Warning: Using default CellID of 0! This may lead to slow downloads. " + "Warning: Using default CellID of 0! This may lead to slow downloads. " +
"You can specify the CellID using the -cellid parameter"); "You can specify the CellID using the -cellid parameter");
} }
}
ContentDownloader.Config.CellID = cellId; ContentDownloader.Config.CellID = cellId;

Loading…
Cancel
Save