Skip to content

Commit 21bd57f

Browse files
committed
adjusted help text
1 parent 40eb560 commit 21bd57f

File tree

1 file changed

+9
-9
lines changed

1 file changed

+9
-9
lines changed

src/Program.cs

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -2,25 +2,25 @@
22
using LineCount;
33
using LineCount.Logging;
44

5-
var rootCommand = new RootCommand("Line Count");
5+
var rootCommand = new RootCommand("linecount");
66

7-
var filterOption = new Option<string>(["-f", "--filter"], "a glob-pattern for files to include.");
8-
var lineFilterOption = new Option<string>(["-l", "--line-filter"], "a RegEx for the lines to count.");
9-
var exceptFilterOption = new Option<string>(["-x", "--exclude-filter"], "a glob-pattern for files not to include.");
10-
var exceptLineFilterOption = new Option<string>(["-w", "--exlude-line-filter"], "a RegEx for the lines not to count.");
11-
var listFilesOption = new Option<bool>("--list", "whether to list the files as they are being processed.");
12-
var excludeDirectoriesOption = new Option<string[]>("--exclude-directories", "a list of directories to exclude.")
7+
var filterOption = new Option<string>(["-f", "--filter"], "A glob-pattern for files to include.");
8+
var lineFilterOption = new Option<string>(["-l", "--line-filter"], "A RegEx for the lines to count.");
9+
var exceptFilterOption = new Option<string>(["-x", "--exclude-filter"], "A glob-pattern for files not to include.");
10+
var exceptLineFilterOption = new Option<string>(["-w", "--exlude-line-filter"], "A RegEx for the lines not to count.");
11+
var listFilesOption = new Option<bool>("--list", "Whether to list the files as they are being processed.");
12+
var excludeDirectoriesOption = new Option<string[]>("--exclude-directories", "A list of directories to exclude.")
1313
{
1414
Arity = ArgumentArity.OneOrMore,
1515
AllowMultipleArgumentsPerToken = true
1616
};
17-
var excludeFilesOption = new Option<string[]>("--exclude-files", "a list of files to exclude.")
17+
var excludeFilesOption = new Option<string[]>("--exclude-files", "A list of files to exclude.")
1818
{
1919
Arity = ArgumentArity.OneOrMore,
2020
AllowMultipleArgumentsPerToken = true
2121
};
2222

23-
var pathArgument = new Argument<string>("path", "The path of the file or the directory that contains the files to calculate the count of. Use '.' to refer to the current directory.");
23+
var pathArgument = new Argument<string>("path", "The path to the file or the directory that contains the files to calculate the count of. Use '.' to refer to the current directory.");
2424

2525
rootCommand.AddArgument(pathArgument);
2626
rootCommand.AddOption(filterOption);

0 commit comments

Comments
 (0)