on master help sign in
Give start/end line variables better names in the help text
d579a48Mark Karpov
app/Main.hs+3−1
@@ -174,10 +174,12 @@ configParser =
174 <*> ( RegionIndices
174 <*> ( RegionIndices
175 <$> (optional . option auto . mconcat)
175 <$> (optional . option auto . mconcat)
176 [ long "start-line",
176 [ long "start-line",
177+ metavar "START",
177− help "Start line of the region to format (lines start from 1)"
178+ help "Start line of the region to format (starts from 1)"
178 ]
179 ]
179 <*> (optional . option auto . mconcat)
180 <*> (optional . option auto . mconcat)
180 [ long "end-line",
181 [ long "end-line",
182+ metavar "END",
181 help "End line of the region to format (inclusive)"
183 help "End line of the region to format (inclusive)"
182 ]
184 ]
183 )
185 )