add arguments to take a version
This commit is contained in:
parent
51c9bb05c6
commit
01b89b341a
@ -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: "))
|
||||
|
Loading…
Reference in New Issue
Block a user