Skip to content
Snippets Groups Projects
Commit 7321f18d authored by matograine's avatar matograine Committed by Moul
Browse files

[feat] #111 : Send multiple outputs

* change the click options and help
parent 6d5fe97f
No related branches found
No related tags found
No related merge requests found
......@@ -43,15 +43,13 @@ from duniterpy.documents.transaction import OutputSource, Unlock, SIGParameter
@command("tx", help="Send transaction")
@option(
"--amount",
type=FloatRange(0.01),
help="Quantitative value",
help="Quantitative value(s) : <value_1>:<value_2>:... If one amount specified, this amount will be sent to all recipients.",
cls=MutuallyExclusiveOption,
mutually_exclusive=["amountud", "allsources"],
)
@option(
"--amountUD",
type=float,
help="Relative value",
help="Relative value(s) : <value_1>:<value_2>:... If only one amount, it will be sent to all recipients.",
cls=MutuallyExclusiveOption,
mutually_exclusive=["amount", "allsources"],
)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment