mirror of
https://github.com/github/semantic.git
synced 2024-11-23 16:37:50 +03:00
Rename executable semantic-diff
This commit is contained in:
parent
6cbfa91475
commit
9a91bb0c88
@ -93,7 +93,7 @@ library
|
||||
default-extensions: DeriveFunctor, DeriveFoldable, DeriveTraversable, DeriveGeneric, FlexibleContexts, FlexibleInstances, OverloadedStrings, NoImplicitPrelude, RecordWildCards, LambdaCase
|
||||
ghc-options: -Wall -fno-warn-name-shadowing -O2 -fprof-auto -j
|
||||
|
||||
executable semantic-git-diff
|
||||
executable semantic-diff
|
||||
hs-source-dirs: app
|
||||
main-is: Main.hs
|
||||
ghc-options: -threaded -rtsopts -with-rtsopts=-N -static -j -O2 -pgml=script/g++
|
||||
|
@ -56,7 +56,7 @@ argumentsParser = info (version <*> helper <*> argumentsP)
|
||||
where regex = mkRegexWithOpts "([0-9a-f]{40})\\.\\.([0-9a-f]{40})" True False
|
||||
|
||||
versionString :: String
|
||||
versionString = "semantic-git-diff version " <> showVersion Library.version
|
||||
versionString = "semantic-diff version " <> showVersion Library.version
|
||||
|
||||
version :: Parser (a -> a)
|
||||
version = infoOption versionString (long "version" <> short 'V' <> help "output the version of the program")
|
||||
|
Loading…
Reference in New Issue
Block a user