Skip to content

Commit

Permalink
added version keyword
Browse files Browse the repository at this point in the history
  • Loading branch information
futzu authored Jan 12, 2024
1 parent 84a0c79 commit e834d0d
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions bin/threefive
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,9 @@ import sys
import threefive

if __name__ == "__main__":
if sys.argv and sys.argv[1].lower() in [b'version','version']:
print(f'{threefive.version}')
sys.exit()
if len(sys.argv) > 1:
if sys.argv[1].lower() in [b'pts','pts']:
strm = threefive.Stream(sys.argv[2])
Expand Down

0 comments on commit e834d0d

Please sign in to comment.