Skip to content

Commit 730a72d

Browse files
xraymemoryMichael Anzuoni
andauthored
Set int type value for min_pub cli option (#17)
* Set int type value for min_pub cli option * Fix formatting Co-authored-by: Michael Anzuoni <[email protected]>
1 parent 3e96ffa commit 730a72d

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

program_admin/cli.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,9 @@ def delete_price(
8282
default="finalized",
8383
)
8484
@click.option("--price", help="Public key of the price account")
85-
@click.option("--min-pub", help="Minimum publishers value to set for this price")
85+
@click.option(
86+
"--min-pub", help="Minimum publishers value to set for this price", type=int
87+
)
8688
@click.option(
8789
"--dump",
8890
help="Output instructions rather than transact",

0 commit comments

Comments
 (0)