Skip to content
This repository was archived by the owner on Feb 5, 2023. It is now read-only.

Commit e39e286

Browse files
committed
Improve help
1 parent 53dfc02 commit e39e286

File tree

1 file changed

+11
-2
lines changed

1 file changed

+11
-2
lines changed

bin/Main.hs

+11-2
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,9 @@ data Flags = Flags
2323

2424

2525
flagsConfig = Flags
26-
{ filePath = Nothing &= args &= typFile
26+
{ filePath = Nothing
27+
&= args
28+
&= typFile
2729

2830
--
2931
, showAllErrors = False
@@ -32,9 +34,16 @@ flagsConfig = Flags
3234
&= help "Show all errors instead of one"
3335
}
3436

37+
-- Details
38+
----------
39+
&= details [
40+
"Provide a path to an Elm file to proofread it, or omit it to use STDIN."
41+
]
42+
3543
-- Summary
3644
----------
37-
&= summary "\nProofread your Elm files.\n\
45+
&= summary "elm-proofread v0.2.0\n\n\
46+
\Proofread your Elm files.\n\
3847
\See https://github.com/icidasset/elm-proofread for examples."
3948

4049
-- Program

0 commit comments

Comments
 (0)