Skip to content

Commit

Permalink
Add program version option
Browse files Browse the repository at this point in the history
  • Loading branch information
Miguel Quero committed Oct 3, 2022
1 parent d216de5 commit 6a58317
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions mftmactime.py
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,7 @@
UTC=pytz.UTC
BUFF_SIZE = 1024 * 1024
OS=platform.system()
VERSION="0.6"

########################### IMG SUPPORT ################################

Expand Down Expand Up @@ -493,6 +494,10 @@ def get_args():
argparser = argparse.ArgumentParser(
description='Utility to create a mactime format filesystem timeline from MFT')

argparser.add_argument('-V', '--version',
action='version',
version='%(prog)s {}'.format(VERSION))

argparser.add_argument('-f', '--file',
required=True,
action='store',
Expand Down

0 comments on commit 6a58317

Please sign in to comment.