File tree 1 file changed +10
-8
lines changed
1 file changed +10
-8
lines changed Original file line number Diff line number Diff line change @@ -24,19 +24,21 @@ stackTagOptions =
24
24
<> help " Completely re-run tag command. Don't use cached tag files." )
25
25
26
26
optsDesc :: String
27
- optsDesc
28
- = " Create ctags/etags for a project and all dependencies"
27
+ optsDesc = " Create ctags/etags for a project and all dependencies"
29
28
30
29
optsHeader :: String
31
- optsHeader
32
- = " stack-tag - Create etags/ctags for a stack project based on snapshot"
30
+ optsHeader = " stack-tag - Create etags/ctags for a stack project based on snapshot"
33
31
34
32
stackTagOpts :: ParserInfo StackTagOpts
35
33
stackTagOpts =
36
- info (helper <*> stackTagOptions)
37
- ( fullDesc
38
- <> progDesc optsDesc
39
- <> header optsHeader )
34
+ info
35
+ (helper
36
+ <*> infoOption " stack-tag v0.2.0, (c) Christopher Reichert 2018"
37
+ ( long " version" <> help " Display version string" )
38
+ <*> stackTagOptions )
39
+ ( fullDesc
40
+ <> progDesc optsDesc
41
+ <> header optsHeader )
40
42
41
43
main :: IO ()
42
44
main = execParser stackTagOpts >>= stackTag
You can’t perform that action at this time.
0 commit comments