3 writes to Name
rzc (3)
Application.cs (1)
29Name = "rzc";
CommandBase.cs (1)
23Name = name;
CommandLine\CommandLineApplication.cs (1)
77var command = new CommandLineApplication(throwOnUnexpectedArg) { Name = name, Parent = this };
8 references to Name
rzc (8)
CommandLine\CommandLineApplication.cs (8)
327if (string.Equals(subcommand.Name, arg, StringComparison.OrdinalIgnoreCase)) 438headerBuilder.Insert(6, string.Format(CultureInfo.InvariantCulture, " {0}", cmd.Name)); 443if (commandName == null || string.Equals(Name, commandName, StringComparison.OrdinalIgnoreCase)) 449target = Commands.SingleOrDefault(cmd => string.Equals(cmd.Name, commandName, StringComparison.OrdinalIgnoreCase)); 506var maxCmdLen = commands.Max(c => c.Name.Length); 508foreach (var cmd in commands.OrderBy(c => c.Name)) 510commandsBuilder.AppendFormat(CultureInfo.InvariantCulture, outputFormat, cmd.Name, cmd.Description); 517commandsBuilder.Append($"Use \"{target.Name} [command] --{OptionHelp.LongName}\" for more information about a command.");