summaryrefslogtreecommitdiff
path: root/randtest.py
diff options
context:
space:
mode:
authorHaoran S. Diao (刁浩然) <0@hairydiode.xyz>2023-07-05 05:47:36 -0700
committerHaoran S. Diao (刁浩然) <0@hairydiode.xyz>2023-07-05 05:47:36 -0700
commit0898e98089f08030c97725a9ecb7c3041050650f (patch)
tree3cad2965567779ab08ab0e6b22ece9d2ea0c05e0 /randtest.py
parent705ab0555e1c8a8f1a34b61ddd33ab3a4b315f60 (diff)
added version info
Diffstat (limited to 'randtest.py')
-rwxr-xr-xrandtest.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/randtest.py b/randtest.py
index 14a6c97..67def61 100755
--- a/randtest.py
+++ b/randtest.py
@@ -14,6 +14,9 @@ def main():
parg.add_argument('-f', '--file',
help='file name to write to',
default='test')
+ parg.add_argument('-v','--version', action='version',
+ version='randtest for Python 3.11.3',
+ help='Version Info')
args = parg.parse_args()
fname = args.file