Skip to content

Commit 0683929

Browse files
committed
Improve wording
1 parent 929cb83 commit 0683929

File tree

3 files changed

+6
-6
lines changed

3 files changed

+6
-6
lines changed

Readme.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -49,10 +49,10 @@ Options:
4949
--root-path-changes <root-path-changes> Followed by one or more arguments with the format
5050
CS1234:$/New/Path. Changes the path that is mapped as the Git
5151
repository root to a new path during a specified changeset.
52-
--pat <pat> Optional PAT, required to access TFVC repositories hosted on
53-
Azure DevOps Services. If not provided Default Client
54-
Credentials will be used, these are only suitable for
55-
on-premise TFS/Azure DevOps Server.
52+
--pat <pat> Personal access token, required to access TFVC repositories
53+
hosted on Azure DevOps Services. If not provided, default
54+
client credentials will be used which are only suitable for
55+
repositories hosted on Azure DevOps Server on-premises.
5656
--version Show version information
5757
-?, -h, --help Show help and usage information
5858
```

src/TfvcMigrator.Tests/ReadmeTests.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ public static async Task Command_line_arguments_section_is_up_to_date()
1818

1919
if (Normalize(actualReadmeCodeBlock) != Normalize(expectedReadmeCodeBlock))
2020
{
21-
Assert.Fail("Update the ‘Command-line arguments’ section in Readme.md using the program output for the --help.");
21+
Assert.Fail("Update the ‘Command-line arguments’ section in Readme.md using the program output for --help.");
2222
}
2323
}
2424

src/TfvcMigrator/Program.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ public static Task Main(string[] args)
3434
AllowMultipleArgumentsPerToken = true,
3535
Description = "Followed by one or more arguments with the format CS1234:$/New/Path. Changes the path that is mapped as the Git repository root to a new path during a specified changeset.",
3636
},
37-
new Option<string?>("--pat") { Description = "Optional PAT, required to access TFVC repositories hosted on Azure DevOps Services. If not provided Default Client Credentials will be used, these are only suitable for on-premise TFS/Azure DevOps Server." },
37+
new Option<string?>("--pat") { Description = "Personal access token, required to access TFVC repositories hosted on Azure DevOps Services. If not provided, default client credentials will be used which are only suitable for repositories hosted on Azure DevOps Server on-premises." },
3838
};
3939

4040
command.Handler = CommandHandler.Create(CommandVerifier.Intercept(MigrateAsync));

0 commit comments

Comments
 (0)