/// <summary> /// Builds the command string for this particular command. /// </summary> /// <returns> /// The command string for this particular command. /// </returns> protected string getSpecificCommandArguments( ) { StringBuilder arguments = new StringBuilder(); arguments.Append("info "); if (User == null && Client == null && Port == null) { throw new BuildException("At least one of the following: \"client\", \"user\", or \"port\" is required for p4set"); } if (User != null) { Perforce.SetVariable("P4USER", User); } if (Client != null) { Perforce.SetVariable("P4CLIENT", Client); } if (Port != null) { Perforce.SetVariable("P4PORT", Port); } return(arguments.ToString()); }