Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 3 additions & 1 deletion app/Main.hs
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,8 @@ module Main where

import ConditionalRestriction (ID, Result (Err, Ok), Type (TBool, TNum, TTime), evaluate, needsData, parseRestriction)
import Control.Monad (unless, when)
import Data.Version (showVersion)
import Paths_conditional_restriction_parser (version)
import System.Console.CmdArgs
( CmdArgs,
Data,
Expand Down Expand Up @@ -64,7 +66,7 @@ programModes =
&= help "List the data needed to evaluate this conditional restriction."
]
&= program "conditional-restriction-parser-exe"
&= summary "Conditional Restriction Parser v0.1.0.0, (C) Lukas Buchli 2022"
&= summary ("Conditional Restriction Parser " ++ showVersion version ++ ", (C) Lukas Buchli 2022")

main :: IO ()
main =
Expand Down