summaryrefslogtreecommitdiff
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
parent705ab0555e1c8a8f1a34b61ddd33ab3a4b315f60 (diff)
added version info
-rwxr-xr-xrandtest.py3
-rw-r--r--test61
2 files changed, 4 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
diff --git a/test6 b/test6
new file mode 100644
index 0000000..defa40c
--- /dev/null
+++ b/test6
@@ -0,0 +1 @@
+u*Ϩ -j 9^?dM`0 ,ix2p$Gf \ No newline at end of file