Add headings to topic list
This commit is contained in:
Родитель
2b9bec8897
Коммит
851959ea48
|
@ -1,4 +1,4 @@
|
|||
// Copyright 2020 the original author or authors.
|
||||
// Copyright 2020 the original author or authors.
|
||||
//
|
||||
// Licensed under the Apache License, Version 2.0 (the "License");
|
||||
// you may not use this file except in compliance with the License.
|
||||
|
@ -86,10 +86,7 @@ Examples:
|
|||
var maxTopicLength = topicPaths.Select(Path.GetFileNameWithoutExtension)
|
||||
.Select(topic => topic.Length).Concat(new[] {0}).Max();
|
||||
var descriptionColumn = maxTopicLength + 4;
|
||||
<<<<<<< HEAD
|
||||
Context.Console.WriteLine("Topic".PadRight(descriptionColumn) + "Description");
|
||||
=======
|
||||
>>>>>>> Rename "help" command to "man"
|
||||
foreach (var topicPath in topicPaths)
|
||||
{
|
||||
var topic = Path.GetFileNameWithoutExtension(topicPath);
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
// Copyright 2020 the original author or authors.
|
||||
// Copyright 2020 the original author or authors.
|
||||
//
|
||||
// Licensed under the Apache License, Version 2.0 (the "License");
|
||||
// you may not use this file except in compliance with the License.
|
||||
|
@ -64,10 +64,7 @@ namespace Steeltoe.Cli.Test
|
|||
then => the_cli_command_should_succeed(),
|
||||
and => the_cli_should_output(new[]
|
||||
{
|
||||
<<<<<<< HEAD
|
||||
"Topic Description",
|
||||
=======
|
||||
>>>>>>> Rename "help" command to "man"
|
||||
"autodetection Application and Service Autodetection",
|
||||
})
|
||||
);
|
||||
|
|
Загрузка…
Ссылка в новой задаче