Skip to content

Commit ef6779a

Browse files
committed
Update command descriptions to also mention GITHUB_OWNED_STORAGE_MULTIPART_MEBIBYTES
1 parent 17fe730 commit ef6779a

File tree

4 files changed

+8
-4
lines changed

4 files changed

+8
-4
lines changed

src/bbs2gh/Commands/GenerateScript/GenerateScriptCommand.cs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -128,7 +128,8 @@ public GenerateScriptCommand() : base(
128128
public Option<bool> UseGithubStorage { get; } = new("--use-github-storage")
129129
{
130130
IsHidden = true,
131-
Description = "Enables multipart uploads to a GitHub owned storage for use during migration",
131+
Description = "Enables multipart uploads to a GitHub owned storage for use during migration. " +
132+
"Configure chunk size with the GITHUB_OWNED_STORAGE_MULTIPART_MEBIBYTES environment variable (default: 100 MiB, minimum: 5 MiB).",
132133
};
133134

134135
public override GenerateScriptCommandHandler BuildHandler(GenerateScriptCommandArgs args, IServiceProvider sp)

src/bbs2gh/Commands/MigrateRepo/MigrateRepoCommand.cs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -201,7 +201,8 @@ public MigrateRepoCommand() : base(
201201
"If your Bitbucket instance has a self-signed SSL certificate then setting this flag will allow the migration archive to be exported.");
202202
public Option<bool> UseGithubStorage { get; } = new(
203203
name: "--use-github-storage",
204-
description: "Enables multipart uploads to a GitHub owned storage for use during migration")
204+
description: "Enables multipart uploads to a GitHub owned storage for use during migration. " +
205+
"Configure chunk size with the GITHUB_OWNED_STORAGE_MULTIPART_MEBIBYTES environment variable (default: 100 MiB, minimum: 5 MiB).")
205206
{ IsHidden = true };
206207

207208
public override MigrateRepoCommandHandler BuildHandler(MigrateRepoCommandArgs args, IServiceProvider sp)

src/gei/Commands/GenerateScript/GenerateScriptCommand.cs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -108,7 +108,8 @@ public GenerateScriptCommand() : base(
108108
public Option<bool> UseGithubStorage { get; } = new("--use-github-storage")
109109
{
110110
IsHidden = true,
111-
Description = "Enables multipart uploads to a GitHub owned storage for use during migration",
111+
Description = "Enables multipart uploads to a GitHub owned storage for use during migration. " +
112+
"Configure chunk size with the GITHUB_OWNED_STORAGE_MULTIPART_MEBIBYTES environment variable (default: 100 MiB, minimum: 5 MiB).",
112113
};
113114

114115
public override GenerateScriptCommandHandler BuildHandler(GenerateScriptCommandArgs args, IServiceProvider sp)

src/gei/Commands/MigrateRepo/MigrateRepoCommand.cs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -109,7 +109,8 @@ public MigrateRepoCommand() : base(
109109
public Option<bool> UseGithubStorage { get; } = new("--use-github-storage")
110110
{
111111
IsHidden = true,
112-
Description = "Enables multipart uploads to a GitHub owned storage for use during migration",
112+
Description = "Enables multipart uploads to a GitHub owned storage for use during migration. " +
113+
"Configure chunk size with the GITHUB_OWNED_STORAGE_MULTIPART_MEBIBYTES environment variable (default: 100 MiB, minimum: 5 MiB).",
113114
};
114115

115116
// Pre-uploaded archive urls, hidden by default

0 commit comments

Comments
 (0)