Add developers startup arg (#997)

This commit is contained in:
Charles Gagnon
2020-07-23 16:09:58 -07:00
committed by GitHub
parent b42940c98a
commit 9fba9b1955
3 changed files with 43 additions and 8 deletions

View File

@@ -22,6 +22,8 @@ namespace Microsoft.SqlTools.Hosting.Utility
/// <summary>
/// Construct and parse command line options from the arguments array
/// </summary>
/// <param name="args">The args to parse</param>
/// <param name="serviceName">Name of the service to display</param>
public CommandOptions(string[] args, string serviceName)
{
ServiceName = serviceName;
@@ -89,7 +91,7 @@ namespace Microsoft.SqlTools.Hosting.Utility
/// <summary>
/// Whether the program should exit immediately. Set to true when the usage is printed.
/// </summary>
public bool ShouldExit { get; private set; }
public bool ShouldExit { get; protected set; }
/// <summary>
/// The locale our we should instantiate this service in