Skip to content

Commit

Permalink
Fix CLI message regarding directoryOrFile (#1297)
Browse files Browse the repository at this point in the history
Closes #1296
  • Loading branch information
marcinjahn authored Jun 28, 2024
1 parent 75a582b commit 7ab89d5
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion Src/CSharpier.Cli/CommandLineOptions.cs
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ public static RootCommand Create()
{
Arity = ArgumentArity.ZeroOrMore,
Description =
"One or more paths to a directory containing c# files to format or a c# file to format. If a path is not specified the current directory is used"
"One or more paths to a directory containing C# files to format or a C# file to format. It may be ommited when piping data via stdin."
}.LegalFilePathsOnly(),
new Option(
new[] { "--check" },
Expand Down
2 changes: 1 addition & 1 deletion Src/Website/docs/CLI.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ Usage:
dotnet-csharpier [options] [<directoryOrFile>]

Arguments:
<directoryOrFile> One or more paths to a directory containing files to format or a file to format. If a path is not specified the current directory is used
<directoryOrFile> One or more paths to a directory containing C# files to format or a C# file to format. It may be ommited when piping data via stdin.

Options:
--check Check that files are formatted. Will not write any changes.
Expand Down
2 changes: 1 addition & 1 deletion docs/CLI.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ Usage:
dotnet-csharpier [options] [<directoryOrFile>]

Arguments:
<directoryOrFile> One or more paths to a directory containing files to format or a file to format. If a path is not specified the current directory is used
<directoryOrFile> One or more paths to a directory containing C# files to format or a C# file to format. It may be ommited when piping data via stdin.

Options:
--check Check that files are formatted. Will not write any changes.
Expand Down

0 comments on commit 7ab89d5

Please sign in to comment.