diff --git a/DepotDownloader/Program.cs b/DepotDownloader/Program.cs index b4818d46..326f0754 100644 --- a/DepotDownloader/Program.cs +++ b/DepotDownloader/Program.cs @@ -85,8 +85,8 @@ namespace DepotDownloader } } - string username = GetParameter(args, "-username"); - string password = GetParameter(args, "-password"); + string username = GetParameter(args, "-username") ?? GetParameter(args, "-user"); + string password = GetParameter(args, "-password") ?? GetParameter(args, "-pass"); ContentDownloader.Config.InstallDirectory = GetParameter(args, "-dir"); ContentDownloader.Config.DownloadAllPlatforms = HasParameter(args, "-all-platforms"); ContentDownloader.Config.VerifyAll = HasParameter(args, "-verify-all") || HasParameter(args, "-verify_all") || HasParameter(args, "-validate");