Skip to content

Commit

Permalink
Add links in help message
Browse files Browse the repository at this point in the history
  • Loading branch information
nojaf committed Feb 12, 2024
1 parent 85062f9 commit 4f9d121
Showing 1 changed file with 10 additions and 1 deletion.
11 changes: 10 additions & 1 deletion src/Fantomas/Program.fs
Original file line number Diff line number Diff line change
Expand Up @@ -210,8 +210,17 @@ let main argv =
| _ -> Some ConsoleColor.Red
)

let helpTextMessage =
"""Learn more about Fantomas: https://fsprojects.github.io/fantomas/docs
Join our Discord community: https://discord.gg/Cpq9vf8BJH
"""

let parser =
ArgumentParser.Create<Arguments>(programName = "dotnet fantomas", errorHandler = errorHandler)
ArgumentParser.Create<Arguments>(
programName = "dotnet fantomas",
errorHandler = errorHandler,
helpTextMessage = helpTextMessage
)

let results = parser.ParseCommandLine argv

Expand Down

0 comments on commit 4f9d121

Please sign in to comment.