add arguments to take a version

This commit is contained in:
a2p1k02 2021-01-03 17:12:02 +03:00
parent 51c9bb05c6
commit 01b89b341a
1 changed files with 0 additions and 2 deletions

View File

@ -5,7 +5,5 @@ if __name__ == '__main__':
try:
if argv[1] == "--version" or argv[1] == "-v":
print(__version__)
else:
fb3.reader(input("Enter path to file: "))
except IndexError:
fb3.reader(input("Enter path to file: "))