From 0541be76f3d90636497378aafadf368695c65023 Mon Sep 17 00:00:00 2001 From: Daniel Lublin Date: Tue, 29 Nov 2022 12:39:24 +0100 Subject: [PATCH] tpt: make it really ask for items that are not passed in args Signed-off-by: Daniel Lublin --- hw/application_fpga/tools/tpt/tpt.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/hw/application_fpga/tools/tpt/tpt.py b/hw/application_fpga/tools/tpt/tpt.py index 43fc3a3..83e0c54 100755 --- a/hw/application_fpga/tools/tpt/tpt.py +++ b/hw/application_fpga/tools/tpt/tpt.py @@ -105,10 +105,10 @@ def main(): parser = argparse.ArgumentParser() parser.add_argument("-v", "--verbose", help="Verbose operation", action="store_true") parser.add_argument("--ent", help="User supplied entropy", type=str) - parser.add_argument("--vid", help="Vendor id (0 -- 65535)", type=int, default=0) - parser.add_argument("--pid", help="Product id (0 -- 255", type=int, default=0) - parser.add_argument("--rev", help="Revision number (0 -- 15)", type=int, default=0) - parser.add_argument("--serial", help="Serial number (0 -- (2**31 - 1))", type=int, default=0) + parser.add_argument("--vid", help="Vendor id (0 -- 65535)", type=int) + parser.add_argument("--pid", help="Product id (0 -- 255", type=int) + parser.add_argument("--rev", help="Revision number (0 -- 15)", type=int) + parser.add_argument("--serial", help="Serial number (0 -- (2**31 - 1))", type=int) args = parser.parse_args() if args.verbose: