<commit_before>using System.Text;
using CommandLine;

namespace Rhino.ServiceBus.Host
{
    public class ExecutingOptions
    {
        [Argument(ArgumentType.Required, HelpText = "Choose an action", ShortName = "action")] public Action Action;

        [Argument(ArgumentType.AtMostOnce, HelpText = "Assembly to execute", ShortName = "asm")] public string Assembly;

        [Argument(ArgumentType.AtMostOnce, HelpText = "Configuration file", ShortName = "config")] public string ConfigFile;

        [Argument(ArgumentType.Required, HelpText = "Service name", ShortName = "name")] public string Name;

        [Argument(ArgumentType.AtMostOnce, HelpText = "Should use loader", ShortName = "load-balancer")] public bool UseLoadBalancer;

        public override string ToString()
        {
            var sb = new StringBuilder();
            sb.Append(" /action:").Append(Action)
                .Append(" /load-balancer:")
                .Append(UseLoadBalancer ? "+" : "-")
                .Append(" /name:")
                .Append(Name);

            if (string.IsNullOrEmpty(Assembly) == false)
            {
                sb.Append(" /asm:")
                    .Append(Assembly);
            }
            if (string.IsNullOrEmpty(ConfigFile) == false)
            {
                sb.Append(" /cfg:")
                    .Append(ConfigFile);
            }
            return sb.ToString();
        }
    }
}<commit_msg>Applied patch from <NAME>, fixing issues with starting as service<commit_after>using System.Text;
using CommandLine;

namespace Rhino.ServiceBus.Host
{
    public class ExecutingOptions
    {
        [Argument(ArgumentType.Required, HelpText = "Choose an action", ShortName = "action")] public Action Action;

        [Argument(ArgumentType.AtMostOnce, HelpText = "Assembly to execute", ShortName = "asm")] public string Assembly;

        [Argument(ArgumentType.AtMostOnce, HelpText = "Configuration file", ShortName = "config")] public string ConfigFile;

        [Argument(ArgumentType.Required, HelpText = "Service name", ShortName = "name")] public string Name;

        [Argument(ArgumentType.AtMostOnce, HelpText = "Should use loader", ShortName = "load-balancer")] public bool UseLoadBalancer;

        public override string ToString()
        {
            var sb = new StringBuilder();
            sb.Append(" /Action:").Append(Action)
                .Append(" /UseLoadBalancer:")
                .Append(UseLoadBalancer ? "+" : "-")
                .Append(" /Name:")
                .Append(Name);

            if (string.IsNullOrEmpty(Assembly) == false)
            {
                sb.Append(" /Assembly:")
                    .Append(Assembly);
            }
            if (string.IsNullOrEmpty(ConfigFile) == false)
            {
                sb.Append(" /ConfigFile:")
                    .Append(ConfigFile);
            }
            return sb.ToString();
        }
    }
}

{'fraction_non_alphanumeric': 0.11678832116788321, 'fraction_numerical': 0.0, 'mean_word_length': 1.9357351509250242, 'pattern_counts': {'":': 0, '<': 4, '<?xml version=': 0, '>': 4, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '4112169', 'n_tokens_mistral': 783, 'n_tokens_neox': 734, 'n_words': 183}