From 837576634a9aaf5322574469f94c4debacbacc67 Mon Sep 17 00:00:00 2001 From: Arnaud Bailly Date: Wed, 3 Sep 2025 08:03:02 +0200 Subject: [PATCH 1/2] Add some details on the expected file formats --- ouroboros-consensus-cardano/app/DBSynthesizer/Parsers.hs | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/ouroboros-consensus-cardano/app/DBSynthesizer/Parsers.hs b/ouroboros-consensus-cardano/app/DBSynthesizer/Parsers.hs index a4cb4ab76a..bbbdc22f53 100644 --- a/ouroboros-consensus-cardano/app/DBSynthesizer/Parsers.hs +++ b/ouroboros-consensus-cardano/app/DBSynthesizer/Parsers.hs @@ -71,7 +71,7 @@ parseOperationalCertFilePath = strOption ( long "shelley-operational-certificate" <> metavar "FILE" - <> help "Path to the delegation certificate" + <> help "Path to the delegation certificate (in JSON TextEnvelope format)" <> completer (bashCompleter "file") ) @@ -80,7 +80,7 @@ parseKesKeyFilePath = strOption ( long "shelley-kes-key" <> metavar "FILE" - <> help "Path to the KES signing key" + <> help "Path to the KES signing key (in JSON TextEnvelope format)" <> completer (bashCompleter "file") ) @@ -89,7 +89,7 @@ parseVrfKeyFilePath = strOption ( long "shelley-vrf-key" <> metavar "FILE" - <> help "Path to the VRF signing key" + <> help "Path to the VRF signing key (in JSON TextEnvelope format)" <> completer (bashCompleter "file") ) @@ -98,7 +98,7 @@ parseBulkFilePath = strOption ( long "bulk-credentials-file" <> metavar "FILE" - <> help "Path to the bulk credentials file" + <> help "Path to the bulk credentials file (a JSON file containing an array of arrays containing 3 TextEnvelope objects for the opcert, VRF Signing key, KES signing key)" <> completer (bashCompleter "file") ) From 6ff2c0946ccae29653fd16f071fb7dd97acfabfa Mon Sep 17 00:00:00 2001 From: Arnaud Bailly Date: Wed, 10 Sep 2025 15:46:41 +0200 Subject: [PATCH 2/2] fix: adjust formatting --- ouroboros-consensus-cardano/app/DBSynthesizer/Parsers.hs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/ouroboros-consensus-cardano/app/DBSynthesizer/Parsers.hs b/ouroboros-consensus-cardano/app/DBSynthesizer/Parsers.hs index bbbdc22f53..4aee21cdc7 100644 --- a/ouroboros-consensus-cardano/app/DBSynthesizer/Parsers.hs +++ b/ouroboros-consensus-cardano/app/DBSynthesizer/Parsers.hs @@ -98,7 +98,8 @@ parseBulkFilePath = strOption ( long "bulk-credentials-file" <> metavar "FILE" - <> help "Path to the bulk credentials file (a JSON file containing an array of arrays containing 3 TextEnvelope objects for the opcert, VRF Signing key, KES signing key)" + <> help + "Path to the bulk credentials file (a JSON file containing an array of arrays containing 3 TextEnvelope objects for the opcert, VRF Signing key, KES signing key)" <> completer (bashCompleter "file") )