diff options
Diffstat (limited to 'src/sw/trng_extract.py')
-rwxr-xr-x | src/sw/trng_extract.py | 11 |
1 files changed, 8 insertions, 3 deletions
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 |