diff --git a/src/utils/script_args.py b/src/utils/script_args.py index 7791a09a..65b1802f 100644 --- a/src/utils/script_args.py +++ b/src/utils/script_args.py @@ -32,18 +32,16 @@ def generic_script_init(description: str) -> ScriptArgs: ) parser.add_argument( "--post-tx", - type=bool, + action="store_true", help="Flag indicating whether multisend should be posted to safe " "(requires valid env var `PROPOSER_PK`)", - default=False, ) parser.add_argument( "--dry-run", - type=bool, + action="store_true", help="Flag indicating whether script should not post alerts or transactions. " - "Only relevant in combination with --post-tx True" + "Only relevant in combination with --post-tx" "Primarily intended for deployment in staging environment.", - default=False, ) parser.add_argument( "--min-transfer-amount-wei", @@ -59,9 +57,8 @@ def generic_script_init(description: str) -> ScriptArgs: ) parser.add_argument( "--ignore-slippage", - type=bool, + action="store_true", help="Flag for ignoring slippage computations", - default=False, ) args = parser.parse_args() return ScriptArgs(