From 3b880af7dd5c81d2c87a56e769e8bad1b7d41e2e Mon Sep 17 00:00:00 2001 From: James Browning Date: Thu, 24 Jun 2021 11:45:27 +0100 Subject: [PATCH] Improve cli help for script data options. --- cardano-cli/src/Cardano/CLI/Shelley/Parsers.hs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/cardano-cli/src/Cardano/CLI/Shelley/Parsers.hs b/cardano-cli/src/Cardano/CLI/Shelley/Parsers.hs index 79ad801d149..ed6513e12bf 100644 --- a/cardano-cli/src/Cardano/CLI/Shelley/Parsers.hs +++ b/cardano-cli/src/Cardano/CLI/Shelley/Parsers.hs @@ -279,14 +279,14 @@ pScriptDataOrFile dataFlagPrefix = Opt.strOption ( Opt.long (dataFlagPrefix ++ "-file") <> Opt.metavar "FILE" - <> Opt.help "The file containing the script data." + <> Opt.help "The JSON file containing the script data." ) pScriptDataValue = Opt.option readerScriptData ( Opt.long (dataFlagPrefix ++ "-value") - <> Opt.metavar "JSON" - <> Opt.help "The value (in JSON syntax) for the script data." + <> Opt.metavar "JSON VALUE" + <> Opt.help "The JSON value for the script data. Supported JSON data types: string, number, object & array." ) readerScriptData = do