Skip to content

Commit

Permalink
Fix minor typos in options
Browse files Browse the repository at this point in the history
  • Loading branch information
jhbertra committed Sep 30, 2022
1 parent 9d8203d commit 0b979f9
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
Expand Up @@ -94,10 +94,12 @@ createCommandParser = info (txCommandParser parser) $ progDesc "Create a new Mar
timeoutArgumentParser = keyValueOption Right (fmap POSIXTime . integerParser) $ mconcat
[ long "timeout-arg"
, metavar "NAME=POSIX_TIMESTAMP"
, help "The name of a timeout parameter in the contract and a value to assign to it (in POSIX milliseconds)."
]
valueArgumentParser = keyValueOption Right integerParser $ mconcat
[ long "value-arg"
, metavar "NAME=INT"
, metavar "NAME=INTEGER"
, help "The name of a numeric parameter in the contract and a value to assign to it."
]
integerParser = maybe (Left "Invalid Integer value") Right . readMaybe

Expand Down
Expand Up @@ -31,6 +31,7 @@ txCommandParser subCommandParser = TxCommand
signingMethodParser = manualSignParser
manualSignParser = fmap Manual $ strOption $ mconcat
[ long "manual-sign"
, metavar "FILE_PATH"
, help "Sign the transaction manually. Writes the CBOR bytes of the unsigned transaction to the specified file for manual signing. Use the submit command to submit the signed transaction."
]
metadataFileParser = optional $ strOption $ mconcat
Expand All @@ -52,6 +53,6 @@ txCommandParser subCommandParser = TxCommand
]
collateralUtxosParser = fmap Set.fromList $ many $ option txOutRefParser $ mconcat
[ long "collateral-utxo"
, help "An UTXO which may be used for collateral"
, help "A UTXO which may be used as a collateral input"
, metavar "UTXO"
]

0 comments on commit 0b979f9

Please sign in to comment.