mirror of
https://github.com/tillitis/tillitis-key1.git
synced 2024-12-24 06:59:24 -05:00
tpt: make it really ask for items that are not passed in args
Signed-off-by: Daniel Lublin <daniel@lublin.se>
This commit is contained in:
parent
3c09960918
commit
0541be76f3
@ -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:
|
||||
|
Loading…
Reference in New Issue
Block a user