Added version info argument

This commit is contained in:
2021-09-08 00:13:50 -04:00
parent 04dbd0624f
commit f06684798d
2 changed files with 14 additions and 1 deletions
+13
View File
@@ -107,6 +107,19 @@ if argument == 'help' or argument == '--help' or argument == '-h':
print("When specifying entry names, do not include the file extension! '.gpg' is assumed!")
print()
# version info
if argument == 'version' or argument == '-v':
print()
print('////////////////////////////////////////////////////////')
print('/ /')
print('/ rpass Copyright (C) 2021 Randall Winkhart /')
print('/ /')
print('/ version 2021.09.08.pr4 /')
print('/ /')
print('////////////////////////////////////////////////////////')
print()
# licensing info
if argument == 'show w':