Skip to content

Commit

Permalink
Apply suggestions from code review
Browse files Browse the repository at this point in the history
Co-authored-by: Alexey Kuleshevich <[email protected]>
  • Loading branch information
Lucsanszky and lehins authored Nov 28, 2024
1 parent 26ede24 commit cfb11cd
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions libs/cardano-ledger-core/src/Cardano/Ledger/Plutus/CLI.hs
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,8 @@ import Numeric.Natural (Natural)
import Options.Applicative

data Opts = Opts
{ optsScript :: !String
{ optsScriptWithContext :: !String
, optsScript :: !(Maybe String)
, optsProtocolVersion :: !(Maybe Version)
, optsLanguage :: !(Maybe Language)
, optsCostModelValues :: ![Int64]
Expand All @@ -20,7 +21,7 @@ optsParser :: Parser Opts
optsParser =
Opts
<$> strArgument
(metavar "SCRIPT(BASE64)")
(metavar "SCRIPT_WITH_CONTEXT(BASE64)")
<*> option
(mkVersion64 <$> auto)
( long "protocol-version"
Expand Down

0 comments on commit cfb11cd

Please sign in to comment.