Skip to content

Commit c6e2b72

Browse files
committed
Make format field strict
1 parent 3b5ca5c commit c6e2b72

File tree

1 file changed

+5
-5
lines changed
  • cardano-cli/src/Cardano/CLI/EraBased/Query

1 file changed

+5
-5
lines changed

cardano-cli/src/Cardano/CLI/EraBased/Query/Command.hs

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -93,7 +93,7 @@ data QueryLeadershipScheduleCmdArgs = QueryLeadershipScheduleCmdArgs
9393
, poolColdVerKeyFile :: !(VerificationKeyOrHashOrFile StakePoolKey)
9494
, vrkSkeyFp :: !(SigningKeyFile In)
9595
, whichSchedule :: !EpochLeadershipSchedule
96-
, format :: Vary [FormatJson, FormatText]
96+
, format :: !(Vary [FormatJson, FormatText])
9797
, mOutFile :: !(Maybe (File () Out))
9898
}
9999
deriving (Generic, Show)
@@ -112,14 +112,14 @@ data QueryTipCmdArgs = QueryTipCmdArgs
112112

113113
data QueryStakePoolsCmdArgs = QueryStakePoolsCmdArgs
114114
{ commons :: !QueryCommons
115-
, format :: Vary [FormatJson, FormatText]
115+
, format :: !(Vary [FormatJson, FormatText])
116116
, mOutFile :: !(Maybe (File () Out))
117117
}
118118
deriving (Generic, Show)
119119

120120
data QueryStakeDistributionCmdArgs = QueryStakeDistributionCmdArgs
121121
{ commons :: !QueryCommons
122-
, format :: Vary [FormatJson, FormatText]
122+
, format :: !(Vary [FormatJson, FormatText])
123123
, mOutFile :: !(Maybe (File () Out))
124124
}
125125
deriving (Generic, Show)
@@ -134,7 +134,7 @@ data QueryStakeAddressInfoCmdArgs = QueryStakeAddressInfoCmdArgs
134134
data QueryUTxOCmdArgs = QueryUTxOCmdArgs
135135
{ commons :: !QueryCommons
136136
, queryFilter :: !QueryUTxOFilter
137-
, format :: Vary [FormatCbor, FormatJson, FormatText]
137+
, format :: !(Vary [FormatCbor, FormatJson, FormatText])
138138
, mOutFile :: !(Maybe (File () Out))
139139
}
140140
deriving (Generic, Show)
@@ -195,7 +195,7 @@ data QuerySlotNumberCmdArgs = QuerySlotNumberCmdArgs
195195
data QueryRefScriptSizeCmdArgs = QueryRefScriptSizeCmdArgs
196196
{ commons :: !QueryCommons
197197
, transactionInputs :: !(Set TxIn)
198-
, format :: Vary [FormatJson, FormatText]
198+
, format :: !(Vary [FormatJson, FormatText])
199199
, mOutFile :: !(Maybe (File () Out))
200200
}
201201
deriving (Generic, Show)

0 commit comments

Comments
 (0)