tezos-reward-distributor-organization / tezos-reward-distributor

Tezos Reward Distributor (TRD): A reward distribution software for tezos bakers.
https://tezos-reward-distributor-organization.github.io/tezos-reward-distributor/
GNU General Public License v3.0
87 stars 51 forks source link

Dry run command not reading correctly #637

Closed rvermootenct closed 1 year ago

rvermootenct commented 1 year ago

Describe the bug When looking at the help options the choices are read as DryRun.NO_SIGNER instead of parsing what that constant is. Therefore a user thinks they need to write -D DryRun.NO_SIGNER instead of -D NO_SIGNER.

To Reproduce Steps to reproduce the behavior:

  1. Run python3 src/main.py --help
  2. Read the instructions for dry run

Expected behavior The choices should be "SIGNER" and "NO SIGNER"

Additional context This issue was brought to attention in the TRD slack by user Leo Treasure