From 17d399658827ca313c5a73260380b44221ab64f3 Mon Sep 17 00:00:00 2001 From: Pavel Djundik Date: Sat, 4 Jan 2025 13:03:53 +0200 Subject: [PATCH] Add `-branchpassword`, change `-beta` to `-branch` in help text --- DepotDownloader/Program.cs | 6 +++--- README.md | 4 ++-- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/DepotDownloader/Program.cs b/DepotDownloader/Program.cs index d9d45704..b6de42a0 100644 --- a/DepotDownloader/Program.cs +++ b/DepotDownloader/Program.cs @@ -241,7 +241,7 @@ namespace DepotDownloader #region App downloading var branch = GetParameter(args, "-branch") ?? GetParameter(args, "-beta") ?? ContentDownloader.DEFAULT_BRANCH; - ContentDownloader.Config.BetaPassword = GetParameter(args, "-betapassword"); + ContentDownloader.Config.BetaPassword = GetParameter(args, "-branchpassword") ?? GetParameter(args, "-betapassword"); ContentDownloader.Config.DownloadAllPlatforms = HasParameter(args, "-all-platforms"); @@ -440,8 +440,8 @@ namespace DepotDownloader Console.WriteLine(" -app <#> - the AppID to download."); Console.WriteLine(" -depot <#> - the DepotID to download."); Console.WriteLine(" -manifest - manifest id of content to download (requires -depot, default: current for branch)."); - Console.WriteLine($" -beta - download from specified branch if available (default: {ContentDownloader.DEFAULT_BRANCH})."); - Console.WriteLine(" -betapassword - branch password if applicable."); + Console.WriteLine($" -branch - download from specified branch if available (default: {ContentDownloader.DEFAULT_BRANCH})."); + Console.WriteLine(" -branchpassword - branch password if applicable."); Console.WriteLine(" -all-platforms - downloads all platform-specific depots when -app is used."); Console.WriteLine(" -all-archs - download all architecture-specific depots when -app is used."); Console.WriteLine(" -os - the operating system for which to download the game (windows, macos or linux, default: OS the program is currently running on)"); diff --git a/README.md b/README.md index 58ff8910..2856e2ca 100644 --- a/README.md +++ b/README.md @@ -67,8 +67,8 @@ Parameter | Description `-depot <#>` | the DepotID to download. `-manifest ` | manifest id of content to download (requires `-depot`, default: current for branch). `-ugc <#>` | the UGC ID to download. -`-beta ` | download from specified branch if available (default: Public). -`-betapassword ` | branch password if applicable. +`-branch ` | download from specified branch if available (default: Public). +`-branchpassword ` | branch password if applicable. `-all-platforms` | downloads all platform-specific depots when `-app` is used. `-os ` | the operating system for which to download the game (windows, macos or linux, default: OS the program is currently running on) `-osarch ` | the architecture for which to download the game (32 or 64, default: the host's architecture)