Rename RemoteAccess to TargetControl to better disambiguate RemoteServer

This commit is contained in:
baldurk
2016-08-02 17:03:55 +02:00
parent 4bfbcbd14d
commit 481a28dc29
29 changed files with 316 additions and 254 deletions
+4 -1
View File
@@ -100,7 +100,10 @@ namespace renderdocui.Code
for (int i = 0; i < args.Length; i++)
{
if (args[i].ToUpperInvariant() == "--REMOTEACCESS" && i + 1 < args.Length)
// accept --remoteaccess for backwards compatibility
if (i + 1 < args.Length &&
(args[i].ToUpperInvariant() == "--REMOTEACCESS" ||
args[i].ToUpperInvariant() == "--TARGETCONTROL"))
{
var regexp = @"^([a-zA-Z0-9_-]+:)?([0-9]+)$";