Skip to content

Commit

Permalink
Merge pull request #65 from nadavge/patch-1
Browse files Browse the repository at this point in the history
Add version printing
  • Loading branch information
hephaest0s committed Jul 3, 2015
2 parents a90aa1e + 91b5df1 commit 06c8566
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions usbkill.py
Original file line number Diff line number Diff line change
Expand Up @@ -294,6 +294,10 @@ def startup_checks():
# Check for help
if '-h' in args or '--help' in args:
sys.exit(help_message)

if '--version' in args:
print('usbkill', __version__)
sys.exit(0)

copy_settings = False
if '--cs' in args:
Expand Down

0 comments on commit 06c8566

Please sign in to comment.