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

Loading…
Cancel
Save