diff options
author | Joachim StroĢmbergson <joachim@secworks.se> | 2014-12-20 09:02:30 +0100 |
---|---|---|
committer | Joachim StroĢmbergson <joachim@secworks.se> | 2014-12-20 09:02:30 +0100 |
commit | dcaa8654ae6f8bd22d4ccc07453ac8438bdbb350 (patch) | |
tree | 8ca28293d3e88dfaa526b2ccb044ad719380f876 /src | |
parent | 670e21811e2a118dca194da01ff5187907d6ed44 (diff) |
Diffstat (limited to 'src')
-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 |