From f06684798d2d3255d7672682668ef346f4ee3672 Mon Sep 17 00:00:00 2001 From: Cuan Date: Wed, 8 Sep 2021 00:13:50 -0400 Subject: [PATCH] Added version info argument --- usr/bin/rpass.py | 13 +++++++++++++ usr/share/doc/rpass/changelog | 2 +- 2 files changed, 14 insertions(+), 1 deletion(-) diff --git a/usr/bin/rpass.py b/usr/bin/rpass.py index da412ec..e854db8 100755 --- a/usr/bin/rpass.py +++ b/usr/bin/rpass.py @@ -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': diff --git a/usr/share/doc/rpass/changelog b/usr/share/doc/rpass/changelog index 27540fc..27d7439 100755 --- a/usr/share/doc/rpass/changelog +++ b/usr/share/doc/rpass/changelog @@ -18,8 +18,8 @@ New features: Changes: - fixed gpg decryption warnings +- added version info argument **optimize code (specifically for when there is no folder but there is a slash) -**add version info argument **update rsync config wizard **fix rsync delete on upload **properly comment the code