@@ -26,15 +26,19 @@ static int Main(string[] args)
...
@@ -26,15 +26,19 @@ static int Main(string[] args)
{"repopath=","The local path to the repository.",value=>options.RepositoryPath=value},
{"repopath=","The local path to the repository.",value=>options.RepositoryPath=value},
{"sourcetype=","The source repository type. Valid values are 'GitHub' and 'VisualStudioOnline'.",value=>options.SourceRepoType=(RepositoryType)Enum.Parse(typeof(RepositoryType),value)},
{"sourcetype=","The source repository type. Valid values are 'GitHub' and 'VisualStudioOnline'.",value=>options.SourceRepoType=(RepositoryType)Enum.Parse(typeof(RepositoryType),value)},
{"sourcereponame=","The name of the source repository.",value=>options.SourceRepoName=value},
{"sourcereponame=","The name of the source repository.",value=>options.SourceRepoName=value},
{"sourceproject=","The name of the source project. Only needed for VisualStudioOnline repos.",value=>options.SourceProject=value},
{"sourceuserid=","The source user ID. Only needed for VisualStudioOnline repos.",value=>options.SourceUserId=value},
{"sourceuser=","The source user name.",value=>options.SourceUserName=value},
{"sourceuser=","The source user name.",value=>options.SourceUserName=value},
{"pushtodestination=","If true the PR branch will be pushed to the destination repository; if false the PR branch will be pushed to the source.",value=>options.PushBranchToDestination=value!=null},
{"pushtodestination=","If true the PR branch will be pushed to the destination repository; if false the PR branch will be pushed to the source.",value=>options.PushBranchToDestination=value!=null},
{"prbranchsourceremote=","The name of the remote the PR should initiate from. Defaults to `sourceremote` parameter.",value=>options.PullRequestBranchSourceRemote=value},
{"prbranchsourceremote=","The name of the remote the PR should initiate from. Defaults to `sourceremote` parameter.",value=>options.PullRequestBranchSourceRemote=value},
{"destinationtype=","The destination repository type. Valid values are 'GitHub' and 'VisualStudioOnline'. Defaults to `sourcetype` parameter.",value=>options.SourceRepoType=(RepositoryType)Enum.Parse(typeof(RepositoryType),value)},
{"destinationtype=","The destination repository type. Valid values are 'GitHub' and 'VisualStudioOnline'. Defaults to `sourcetype` parameter.",value=>options.DestinationRepoType=(RepositoryType)Enum.Parse(typeof(RepositoryType),value)},
## Merge from `https://github.com/Microsoft/visualfsharp`:`master` to `https://<internal-f#-repository>`:`microbuild` on a VSO instance where the credentials belong to a fictional user `merge-bot`.
// Copyright (c) Microsoft. All Rights Reserved. Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
// Copyright (c) Microsoft. All Rights Reserved. Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.