Skip to content

Commit

Permalink
Merge #1516
Browse files Browse the repository at this point in the history
1516: Default byron-witness-count CLI option to 0 r=intricate a=intricate

Closes #1489. 

Most users probably won't utilize this CLI option, so it makes sense to default it to 0 as opposed to forcing them to specify a value.

Co-authored-by: Luke Nadur <19835357+intricate@users.noreply.github.com>
  • Loading branch information
iohk-bors[bot] and intricate authored Jul 21, 2020
2 parents 4d239be + df1c2b4 commit 7cf94ea
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion cardano-cli/src/Cardano/CLI/Shelley/Parsers.hs
Original file line number Diff line number Diff line change
Expand Up @@ -1398,7 +1398,8 @@ pTxByronWitnessCount =
Opt.option Opt.auto
( Opt.long "byron-witness-count"
<> Opt.metavar "NATURAL"
<> Opt.help "The number of Byron key witnesses."
<> Opt.help "The number of Byron key witnesses (default is 0)."
<> Opt.value 0
)

pQueryFilter :: Parser QueryFilter
Expand Down

0 comments on commit 7cf94ea

Please sign in to comment.