From dcaa8654ae6f8bd22d4ccc07453ac8438bdbb350 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Joachim=20Stro=CC=88mbergson?= Date: Sat, 20 Dec 2014 09:02:30 +0100 Subject: (1) Fixed line lengths. Added targets to extract fromm. --- src/sw/trng_extract.py | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) (limited to 'src/sw/trng_extract.py') diff --git a/src/sw/trng_extract.py b/src/sw/trng_extract.py index 9492f53..fdba24a 100755 --- a/src/sw/trng_extract.py +++ b/src/sw/trng_extract.py @@ -333,19 +333,24 @@ def main(): parser = argparse.ArgumentParser() - parser.add_argument('-d', '--debug', dest='debug', action='store_true', + parser.add_argument('-d', '--debug', dest='debug', + action='store_true', help='Pring debug information.') - parser.add_argument('-v', '--verbose', dest='verbose', action='store_true', + parser.add_argument('-v', '--verbose', dest='verbose', + action='store_true', help='Increase verbosity.') parser.add_argument('-i', dest='device', default=I2C_DEVICE, - help='I2C device name (default ' + I2C_DEVICE + ')') + help='I2C device name (default ' + + I2C_DEVICE + ')') parser.add_argument('-n', dest='num_words', default=NUM_WORDS, help='Number of 32-bit words to extract (default ' + str(NUM_WORDS) + ')') + parser.add_argument('target', + help='target to extract from, "rng", "rosc", or "avalanche"') args = parser.parse_args() DEBUG = args.debug -- cgit v1.2.3